w3c / vc-data-model-2.0-test-suite

W3C Verifiable Credentials v2.0 test suite
https://w3c.github.io/vc-data-model-2.0-test-suite/
Other
11 stars 11 forks source link

Removes the my custom context test from the suite. #16

Closed aljones15 closed 1 year ago

aljones15 commented 1 year ago

So the assertion:

@context: "Subsequent items in the array MUST express context information and be composed of any combination of URLs or objects."

Has 5 tests currently:

https://github.com/digitalbazaar/vc-data-model-2-test-suite/blob/8cea86fbbd89854e3280c440a899fbf4306d52fb/tests/input/credential-context-combo1-ok.json#L2-L4

https://github.com/digitalbazaar/vc-data-model-2-test-suite/blob/8cea86fbbd89854e3280c440a899fbf4306d52fb/tests/input/credential-context-combo2-ok.json#L2-L4

https://github.com/digitalbazaar/vc-data-model-2-test-suite/blob/8cea86fbbd89854e3280c440a899fbf4306d52fb/tests/input/credential-context-combo3-ok.json#L2-L4

https://github.com/digitalbazaar/vc-data-model-2-test-suite/blob/8cea86fbbd89854e3280c440a899fbf4306d52fb/tests/input/credential-context-combo4-fail.json#L2-L5

https://github.com/digitalbazaar/vc-data-model-2-test-suite/blob/8cea86fbbd89854e3280c440a899fbf4306d52fb/tests/input/credential-context-combo5-fail.json#L2-L5

This PR removes the my custom context test which is credential-context-combo2-ok.json

This is so that implementers don't have to add an empty context for the url: "https://example.com/contexts/mycontext.jsonld"

The test is somewhat redundant as the existing examples context test already tests an extra context loaded from a url.