Fix tests

This commit is contained in:
2020-12-28 23:08:11 -06:00
parent d1eeb559cb
commit 0b23fbed86

View File

@@ -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));
} }