The expect_named expectation is failing in CKAN 2.9
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-tag_search.R:12:3'): tag_search gives back expected class types ──
Names of a[[1]] ('id', 'name', 'vocabulary_id') don't match 'vocabulary_id', 'id', 'name'
── Failure ('test-tag_search.R:20:3'): tag_search works with many queries ──────
Names of a[[1]] ('id', 'name', 'vocabulary_id') don't match 'vocabulary_id', 'id', 'name'
The
expect_named
expectation is failing in CKAN 2.9But since the
tag_search
endpoint returnsshould[^1] not care about the order in which they are returned.
[^1]: Although apparently we could per Are dictionaries ordered in Python 3.6+? - Stack Overflow