Skip to content

Commit 7e43bb9

Browse files
committed
OpenConceptLab/ocl_online#30 | Compare unversioned urls in the include-concepts ordering test
1 parent 29f3f3c commit 7e43bb9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎core/integration_tests/tests_collections.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ def test_get_200_include_concepts_ordered_by_id_desc(self):
462462

463463
self.assertEqual(response.status_code, 200)
464464
self.assertEqual(
465-
[c['version_url'] for c in response.data['concepts']],
465+
[c['url'] for c in response.data['concepts']],
466466
[c.uri for c in sorted([concept1, concept2], key=lambda c: c.id, reverse=True)])
467467

468468
def test_get_200_with_resources(self):

0 commit comments

Comments
 (0)