Skip to content

Commit bf6fe27

Browse files
committed
Fixes assertion statement
1 parent a78a06f commit bf6fe27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

WordPress/src/test/java/org/wordpress/android/ui/sitecreation/SiteCreationMainVMTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ class SiteCreationMainVMTest : BaseUnitTest() {
374374
val newViewModel = getNewViewModel()
375375
newViewModel.start(savedInstanceState, SiteCreationSource.UNSPECIFIED)
376376

377-
verify(wizardManager).setCurrentStepIndex(0)
377+
assertEquals(0, wizardManager.currentStep)
378378
}
379379

380380
private fun currentWizardState(vm: SiteCreationMainVM) = vm.navigationTargetObservable.lastEvent!!.wizardState

0 commit comments

Comments
 (0)