Skip to content

Commit d44dfee

Browse files
committed
Add test fix where user was getting Project object instead of an error
1 parent aa1eb6d commit d44dfee

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

server/mergin/tests/test_permissions.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ def test_permissions_require_project_by_many_uuids(client):
154154
assert len(items) == 2
155155
assert all(not isinstance(i, dict) for i in items)
156156

157+
Configuration.GLOBAL_READ = False
157158
# Second user with no access to private project
158159
user2 = add_user("user_batch", "password")
159160
login(client, user2.username, "password")

0 commit comments

Comments
 (0)