Skip to content

Commit

Permalink
Fixed issue with control pad button tests (#529)
Browse files Browse the repository at this point in the history
* Fixed tests to determine which Kodi version Kore is connected too.
     This caused the long press tests to fail as Kore didn't see v17 as
     the version that should use the new JSON RPC call.
   * Refactored setting the Kodi version during testing to also set the
     correct version in the database, instead of only setting it in the HostInfo
     instance.
  • Loading branch information
poisdeux authored and SyncedSynapse committed Apr 6, 2018
1 parent ff67880 commit 93d4d37
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ protected void setSharedPreferences(Context context) {

@Override
protected void configureHostInfo(HostInfo hostInfo) {
hostInfo.setKodiVersionMajor(16);
}

@BeforeClass
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ protected void setSharedPreferences(Context context) {

@Override
protected void configureHostInfo(HostInfo hostInfo) {
hostInfo.setKodiVersionMajor(17);
}

@Override
Expand Down

0 comments on commit 93d4d37

Please sign in to comment.