aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/organisations
diff options
context:
space:
mode:
authorMatthew Lemon <lemon@matthewlemon.com>2020-05-25 20:21:30 +0100
committerMatthew Lemon <lemon@matthewlemon.com>2020-05-25 20:21:30 +0100
commitf0f343eafc7f2c39f17eaeee27bc42499b3e8cbc (patch)
tree60a6735471fe2022d1b2853e3ded2383b6eb0b02 /ctrack/organisations
parent73fb885d219f53380f66eb244bab6ebc95dc27fd (diff)
swapped UserFactory
Diffstat (limited to 'ctrack/organisations')
-rw-r--r--ctrack/organisations/tests/factories.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/ctrack/organisations/tests/factories.py b/ctrack/organisations/tests/factories.py
index 4f4928c..ba2655e 100644
--- a/ctrack/organisations/tests/factories.py
+++ b/ctrack/organisations/tests/factories.py
@@ -33,6 +33,8 @@ def _random_submode():
class UserFactory(DjangoModelFactory):
+ # Better to create this using example in ctrack.users.tests.factories.
+ # Handles password generation correctly.
class Meta:
model = User