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:
parent
ff67880999
commit
93d4d37f1c
|
@ -59,7 +59,6 @@ public class KodiPreV17Tests extends AbstractTestClass<RemoteActivity> {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void configureHostInfo(HostInfo hostInfo) {
|
protected void configureHostInfo(HostInfo hostInfo) {
|
||||||
hostInfo.setKodiVersionMajor(16);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@BeforeClass
|
@BeforeClass
|
||||||
|
|
|
@ -52,7 +52,6 @@ public class ButtonTests extends AbstractTestClass<RemoteActivity> {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void configureHostInfo(HostInfo hostInfo) {
|
protected void configureHostInfo(HostInfo hostInfo) {
|
||||||
hostInfo.setKodiVersionMajor(17);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue