Skip to content
This repository has been archived by the owner on Aug 26, 2022. It is now read-only.

Commit

Permalink
bug 1246967 - Fix test_json_data_null_uuid
Browse files Browse the repository at this point in the history
This test was using a test utility (doc_rev) that was removed in a
previous commit (69cf488).
  • Loading branch information
jwhitlock committed Mar 24, 2016
1 parent 18b5291 commit 9d43d35
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion kuma/wiki/tests/test_models.py
Expand Up @@ -113,7 +113,8 @@ def test_json_data(self):

def test_json_data_null_uuid(self):
"""Test json data during the UUID transition period."""
doc, rev = doc_rev('Sample document')
rev = revision(is_approved=True, save=True, content='Sample document')
doc = rev.document
doc.uuid = None
doc.save()
de_doc = document(parent=doc, locale='de', uuid=None, save=True)
Expand Down

0 comments on commit 9d43d35

Please sign in to comment.