Skip to content

Commit

Permalink
backend test update
Browse files Browse the repository at this point in the history
  • Loading branch information
ReinhardDP committed May 24, 2024
1 parent 5e6200f commit 7780070
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def test_update_self(self):
'course': [self.course.course_id]
}
response = self.client.put(f'{API_ENDPOINT}{self.teacher.id}/', updated_data, format='json')
self.assertEqual(response.status_code, status.HTTP_200_OK)
self.assertEqual(response.status_code, status.HTTP_403_FORBIDDEN)

def test_delete_self(self):
response = self.client.delete(f'{API_ENDPOINT}{self.teacher.id}/')
Expand Down

0 comments on commit 7780070

Please sign in to comment.