Commit 5c23f2d4a43ad008cf0ac620693d4bc2487bd7a3
1 parent
3558fc68
Exists in
master
and in
5 other branches
Test update link finished [Issue:#124]
Showing
1 changed file
with
2 additions
and
0 deletions
Show diff stats
links/tests.py
... | ... | @@ -154,7 +154,9 @@ class LinkTestCase(TestCase): |
154 | 154 | url = reverse('course:links:update_link',kwargs={'slug': self.link.slug}) |
155 | 155 | print("slug",self.link.slug) |
156 | 156 | data = { |
157 | + "name" : 'testinglink', | |
157 | 158 | "link_description":'new description', |
159 | + "link_url" : 'teste.com', | |
158 | 160 | } |
159 | 161 | self.assertEqual(Link.objects.all()[0].link_description, "testdescription") # old description |
160 | 162 | response = self.client.post(url, data) | ... | ... |