We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8bbac4 commit 08ce3a1Copy full SHA for 08ce3a1
WordPress/src/test/java/org/wordpress/android/bloggingreminders/resolver/BloggingRemindersResolverTest.kt
@@ -157,9 +157,9 @@ class BloggingRemindersResolverTest {
157
@Test
158
fun `Should trigger failure callback if result map is empty`() {
159
featureEnabled()
160
- val onFailure: () -> Unit = mock()
161
- classToTest.trySyncBloggingReminders({}, onFailure)
162
- verify(onFailure).invoke()
+ val onSuccess: () -> Unit = mock()
+ classToTest.trySyncBloggingReminders(onSuccess) {}
+ verify(onSuccess).invoke()
163
}
164
165
0 commit comments