def METHOD_NAME(self):
    user: TapirUser = TapirUserFactory.create()
    shift = ShiftFactory.create()
    attendance = ShiftAttendance.objects.create(
        user=user, slot=ShiftSlot.objects.filter(shift=shift).first()
    )
    self.login_as_member_office_user()
    self.update_attendance_state(attendance, ShiftAttendance.State.MISSED)
    self.update_attendance_state(attendance, ShiftAttendance.State.DONE)
    self.assertEqual(
        user.shift_user_data.get_account_balance(),
        1,
        f"After changing the attendance state from MISSED to DONE, the user's account balance should be 1.",
    )