mirror of
https://github.com/iSoron/uhabits.git
synced 2025-12-06 09:08:52 -06:00
Fix tests
This commit is contained in:
@@ -115,7 +115,7 @@ public class ListHabitsSelectionMenuBehaviorTest extends BaseUnitTest
|
|||||||
|
|
||||||
behavior.onDeleteHabits();
|
behavior.onDeleteHabits();
|
||||||
|
|
||||||
verify(screen).showDeleteConfirmationScreen(deleteCallback.capture());
|
verify(screen).showDeleteConfirmationScreen(deleteCallback.capture(), eq(1));
|
||||||
deleteCallback.getValue().onConfirmed();
|
deleteCallback.getValue().onConfirmed();
|
||||||
assertNull(habitList.getById(id));
|
assertNull(habitList.getById(id));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user