aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ctrack/organisations/tests/test_factories.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ctrack/organisations/tests/test_factories.py b/ctrack/organisations/tests/test_factories.py
index 649c0e4..46a7a39 100644
--- a/ctrack/organisations/tests/test_factories.py
+++ b/ctrack/organisations/tests/test_factories.py
@@ -37,5 +37,5 @@ def test_role_factory():
def test_person_factory():
r = RoleFactory.build()
- p = PersonFactory.build(role=r, predecessor=None)
+ p = PersonFactory.build(role=r, predecessor__predecessor=None)
assert p.first_name