Skip to content
Snippets Groups Projects
Commit 4826792a authored by Harsha Kethineni's avatar Harsha Kethineni
Browse files

Fixed modified groups test

parent b2230ad3
No related branches found
No related tags found
No related merge requests found
......@@ -16,6 +16,10 @@ def test_groups(as_admin, data_builder):
group_name = 'New group name'
r = as_admin.put('/groups/' + group, json={'name': group_name})
assert r.ok
# Get the group again to compare timestamps
r = as_admin.get('/groups/' + group)
assert r.ok
second_modified = r.json()['modified']
d1 = parse(first_modified)
d2 = parse(second_modified)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment