Skip to content

Commit dec4410

Browse files
committed
Fix MigratorTest after update io.mockk to v1.13.11
1 parent 62af9ed commit dec4410

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/src/test/java/mihon/core/migration/MigratorTest.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ class MigratorTest {
5959
val result = execute.await()
6060
assertFalse(result)
6161

62-
verify { migrationJobFactory.create(any()) wasNot Called }
62+
verify(exactly = 0) { migrationJobFactory.create(any()) }
6363
}
6464

6565
@Test
@@ -72,7 +72,7 @@ class MigratorTest {
7272
val result = execute.await()
7373
assertFalse(result)
7474

75-
verify { migrationJobFactory.create(any()) wasNot Called }
75+
verify(exactly = 0) { migrationJobFactory.create(any()) }
7676
}
7777

7878
@Test

0 commit comments

Comments
 (0)