Skip to content

Commit

Permalink
OpenConceptLab/ocl_issues#979 | collection summary has expansions cou…
Browse files Browse the repository at this point in the history
…nt also | fixing test
  • Loading branch information
snyaggarwal committed Nov 19, 2021
1 parent 8263deb commit 06276f2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion core/integration_tests/tests_collections.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,9 @@ def test_get_200(self):
self.assertEqual(response.data[0]['id'], 'coll1')
self.assertEqual(response.data[0]['url'], coll.uri)
self.assertEqual(
response.data[0]['summary'], dict(versions=1, active_concepts=0, active_mappings=0, active_references=1))
response.data[0]['summary'],
dict(versions=1, active_concepts=0, active_mappings=0, active_references=1, expansions=0)
)

def test_post_201(self):
org = OrganizationFactory(mnemonic='org')
Expand Down

0 comments on commit 06276f2

Please sign in to comment.