diff options
author | Matthew Lemon <lemon@matthewlemon.com> | 2020-05-27 16:21:51 +0100 |
---|---|---|
committer | Matthew Lemon <lemon@matthewlemon.com> | 2020-05-27 16:21:51 +0100 |
commit | fa674ad70439cea0de962b87e5ac4c4dc0fa16f7 (patch) | |
tree | 706da51c48601390fc2e186bbde470da56977136 /ctrack/users/tests/test_models.py | |
parent | ed9a9be6e9daf58ef445047a85d0748fef53087f (diff) |
working through permissions issues
Diffstat (limited to 'ctrack/users/tests/test_models.py')
-rw-r--r-- | ctrack/users/tests/test_models.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ctrack/users/tests/test_models.py b/ctrack/users/tests/test_models.py index 402c41b..368be34 100644 --- a/ctrack/users/tests/test_models.py +++ b/ctrack/users/tests/test_models.py @@ -24,6 +24,6 @@ def test_stakeholder_model(person, user): stakeholder = Stakeholder(person=person) org = person.organisation.name user.stakeholder = stakeholder - assert user.stakeholder.person.first_name == "Chinaplate" - assert user.is_stakeholder() is True + assert user.stakeholder.person.first_name == "Toss" + assert user.is_stakeholder is True assert user.get_organisation_name() == org |