Skip to content
This repository was archived by the owner on Jun 1, 2022. It is now read-only.

Commit 312322e

Browse files
committed
Update changed view name in API test
1 parent 6aa202e commit 312322e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

editorsnotes/api/tests.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ def test_topic_api_create(self):
137137
self.assertEqual(Revision.objects.count(), 1)
138138

139139
# Make sure an entry was added to the activity index
140-
activity_response = self.client.get(reverse('api:api-project-activity',
140+
activity_response = self.client.get(reverse('api:api-projects-activity',
141141
args=[self.project.slug]))
142142
self.assertEqual(activity_response.status_code, 200)
143143
self.assertEqual(len(activity_response.data['activity']), 1)
@@ -258,7 +258,7 @@ def test_topic_api_update(self):
258258
self.assertEqual(Revision.objects.count(), 1)
259259

260260
# Make sure an entry was added to the activity index
261-
activity_response = self.client.get(reverse('api:api-project-activity',
261+
activity_response = self.client.get(reverse('api:api-projects-activity',
262262
args=[self.project.slug]))
263263
self.assertEqual(activity_response.status_code, 200)
264264
activity_data = activity_response.data['activity'][0]
@@ -324,7 +324,7 @@ def test_topic_api_delete(self):
324324
self.assertEqual(main_models.TopicNode.objects.count(), 1)
325325

326326
# Make sure an entry was added to the activity index
327-
activity_response = self.client.get(reverse('api:api-project-activity',
327+
activity_response = self.client.get(reverse('api:api-projects-activity',
328328
args=[self.project.slug]))
329329
self.assertEqual(activity_response.status_code, 200)
330330
activity_data = activity_response.data['activity'][0]

0 commit comments

Comments
 (0)