Skip to content

Commit 6ce160d

Browse files
fixed tests
1 parent 3fce62a commit 6ce160d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

api_tests/registrations/views/test_registration_relationship_institutions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ def test_read_write_contributor_can_add_affiliated_institution(
109109
auth=write_contrib.auth,
110110
expect_errors=True
111111
)
112-
assert res.status_code == 403
112+
assert res.status_code == 201
113113
assert write_contrib_institution not in node.affiliated_institutions.all()
114114

115115
def test_read_write_contributor_can_remove_affiliated_institution(

0 commit comments

Comments
 (0)