Skip to content

Commit

Permalink
Merge branch 'main' into 655-add-user-models
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua-Douglas committed Mar 24, 2024
2 parents 86addbe + fea47a5 commit b11fed9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/tests/test_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,4 +144,4 @@ def test_deserialize_nonexistantrole_err(empty_db_session):
json_from_request = '{"role": {"name": "FakeRole"}, "email": "[email protected]", "firstName": "first", "middleName": "middle", "lastName": "last"}'
data_from_request = json.loads(json_from_request)
with pytest.raises(ValidationError, match="Role FakeRole does not exist"):
user_schema.load(data_from_request, session=empty_db_session)
user_schema.load(data_from_request, session=empty_db_session)

0 comments on commit b11fed9

Please sign in to comment.