diff --git a/tapir/coop/tests/membership_resignation/test_service.py b/tapir/coop/tests/membership_resignation/test_service.py index edadc872..44fd3b20 100644 --- a/tapir/coop/tests/membership_resignation/test_service.py +++ b/tapir/coop/tests/membership_resignation/test_service.py @@ -18,6 +18,7 @@ from tapir.shifts.models import ( ShiftAttendance, ShiftAttendanceTemplate, + DeleteShiftAttendanceTemplateLogEntry, ) from tapir.shifts.tests.factories import ShiftFactory, ShiftTemplateFactory from tapir.utils.tests_utils import ( @@ -163,6 +164,7 @@ def test_updateShifts_resigningMemberHasAttendanceTemplate_attendanceTemplateDel ) self.assertEqual(ShiftAttendanceTemplate.objects.count(), 0) + self.assertEqual(DeleteShiftAttendanceTemplateLogEntry.objects.count(), 1) def test_updateShifts_resigningMemberHasAttendancesBeforeResignationDate_attendancesNotUpdated( self,