Fixes test build

feature/top10
Laurent 7 years ago
parent 3ce48dfe16
commit ff63a34f68
  1. 4
      app/src/androidTest/java/net/pokeranalytics/android/FavoriteSessionUnitTest.kt

@ -32,7 +32,7 @@ class FavoriteSessionUnitTest : RealmInstrumentedUnitTest() {
realm.insert(s3)
realm.commitTransaction()
val favSession = FavoriteSessionFinder.favoriteSession(Session.Type.CASH_GAME, null, realm, InstrumentationRegistry.getInstrumentation().targetContext)
val favSession = FavoriteSessionFinder.favoriteSession(Session.Type.CASH_GAME.ordinal, null, realm, InstrumentationRegistry.getInstrumentation().targetContext)
if (favSession != null) {
Assert.assertEquals(4.0, favSession.cgBigBlind)
@ -68,7 +68,7 @@ class FavoriteSessionUnitTest : RealmInstrumentedUnitTest() {
realm.insert(s3)
realm.commitTransaction()
val favSession = FavoriteSessionFinder.favoriteSession(Session.Type.CASH_GAME, loc2, realm, InstrumentationRegistry.getInstrumentation().targetContext)
val favSession = FavoriteSessionFinder.favoriteSession(Session.Type.CASH_GAME.ordinal, loc2, realm, InstrumentationRegistry.getInstrumentation().targetContext)
if (favSession != null) {
Assert.assertEquals(1.0, favSession.cgBigBlind)

Loading…
Cancel
Save