Skip to content

Commit d8c5fb2

Browse files
committed
Updated tests
1 parent a518dd4 commit d8c5fb2

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

appointment/tests/test_views.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -631,13 +631,6 @@ def test_add_day_off_authenticated_unauthorized_user(self):
631631
'description': 'Trying to add for others'})
632632
self.assertNotEqual(response.status_code, 200) # Expect redirection or error due to unauthorized action
633633

634-
def test_add_day_off_authenticated_user_invalid_data(self):
635-
# Log in as staff user
636-
self.need_staff_login()
637-
with self.assertRaises(ValidationError):
638-
self.client.post(self.url_add_day_off, data={'start_date': '', 'reason': '',
639-
'staff_member': self.staff_member1, 'end_date': ''})
640-
641634
def test_update_day_off_authenticated_staff_user(self):
642635
# Log in as staff user who owns the day off
643636
self.need_staff_login()

0 commit comments

Comments
 (0)