Skip to content

Commit

Permalink
Fix broken tests
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewelwell committed Aug 13, 2024
1 parent d23e1c6 commit 435dee3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions api/tests/unit/features/test_unit_features_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ def test_remove_owners_only_remove_specified_owners(
"first_name": user_3.first_name,
"last_name": user_3.last_name,
"last_login": None,
"uuid": mock.ANY,
}


Expand Down Expand Up @@ -1565,13 +1566,15 @@ def test_add_owners_adds_owner(
"first_name": staff_user.first_name,
"last_name": staff_user.last_name,
"last_login": None,
"uuid": mock.ANY,
}
assert json_response["owners"][1] == {
"id": admin_user.id,
"email": admin_user.email,
"first_name": admin_user.first_name,
"last_name": admin_user.last_name,
"last_login": None,
"uuid": mock.ANY,
}


Expand Down

0 comments on commit 435dee3

Please sign in to comment.