diff --git a/tests/integration_tests/python/test_groups.py b/tests/integration_tests/python/test_groups.py
index 9d61487d745bef9420cd64ada8262aa517691683..9ebcddf1fb0f2f07f49a94e92e5fba786fd8d8f8 100644
--- a/tests/integration_tests/python/test_groups.py
+++ b/tests/integration_tests/python/test_groups.py
@@ -128,4 +128,4 @@ def test_groups(as_user, as_admin, data_builder):
     project = data_builder.create_project()
     r = as_admin.get('/groups', params={'join': 'projects'})
     assert r.ok
-    assert r.json()[1].get('projects')[0].get('_id') == project
+    assert r.json()[0].get('projects')[0].get('_id') == project