-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: rename field on TransitAgency
to clarify it's the group of staff users, not the enrollment group
- Loading branch information
1 parent
27faf51
commit 5519328
Showing
3 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -473,7 +473,7 @@ def test_TransitAgency_for_user_in_group(model_TransitAgency): | |
|
||
agency_for_user = TransitAgency.by_id(model_TransitAgency.id) | ||
agency_for_user.pk = None | ||
agency_for_user.group = group | ||
agency_for_user.staff_group = group | ||
agency_for_user.save() | ||
|
||
user = User.objects.create_user(username="test_user", email="[email protected]", password="test", is_staff=True) | ||
|
@@ -488,7 +488,7 @@ def test_TransitAgency_for_user_not_in_group(model_TransitAgency): | |
|
||
agency_for_user = TransitAgency.by_id(model_TransitAgency.id) | ||
agency_for_user.pk = None | ||
agency_for_user.group = group | ||
agency_for_user.staff_group = group | ||
agency_for_user.save() | ||
|
||
user = User.objects.create_user(username="test_user", email="[email protected]", password="test", is_staff=True) | ||
|