Commit 2ad327a6 authored by Okhin's avatar Okhin
Browse files

If no tags are given, we maintain them

parent 47a7eedf
Pipeline #2628 passed with stages
in 3 minutes and 6 seconds
......@@ -256,8 +256,8 @@ class TestArticleApi(TestCase):
# Need to test if we keep the tags
r ='/api/articles/',
{'url': a.url, 'title': a.title,
'tags': ''
assert list(a.tags.all().values('name')) == [json.loads(t) for t in['tags']]
def test_api_recover(self):
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment