Fixed issue with control pad button tests (#529)

* 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.
This commit is contained in:
Martijn Brekhof 2018-04-06 20:13:44 +02:00 committed by Synced Synapse
parent ff67880999
commit 93d4d37f1c
2 changed files with 0 additions and 2 deletions

View File

@ -59,7 +59,6 @@ public class KodiPreV17Tests extends AbstractTestClass<RemoteActivity> {
@Override
protected void configureHostInfo(HostInfo hostInfo) {
hostInfo.setKodiVersionMajor(16);
}
@BeforeClass

View File

@ -52,7 +52,6 @@ public class ButtonTests extends AbstractTestClass<RemoteActivity> {
@Override
protected void configureHostInfo(HostInfo hostInfo) {
hostInfo.setKodiVersionMajor(17);
}
@Override