Skip to content
Snippets Groups Projects
Commit 55cb0807 authored by Alice Heaton's avatar Alice Heaton :speech_balloon:
Browse files

Ensure test factories allow us to create term with the same name across taxonomies.

parent aa2e08f6
No related branches found
No related tags found
1 merge request!1Use api to list terms
......@@ -19,7 +19,7 @@ class TermFactory(DjangoModelFactory):
class Meta:
model = Term
django_get_or_create = ('name',)
django_get_or_create = ('name', 'taxonomy')
name = fuzzy.FuzzyText()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment