-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test: Add credential API tests [DEV-3238] #442
Conversation
78139f8
to
7408291
Compare
3ac252d
to
554a8b3
Compare
99c890d
to
1697197
Compare
Task linked: DEV-3238 Add tests to the /credential/issue API |
62529bc
to
336f5f8
Compare
8b195e8
to
57fc185
Compare
c160998
to
bda140d
Compare
bda140d
to
81a14f8
Compare
7b0a81e
to
e842826
Compare
e842826
to
b2ccba7
Compare
c769b8c
to
a1a9cfb
Compare
a1a9cfb
to
a7c47eb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey! Thanks for your work. I think it worse to make some extra checks.
- For issued credentials let's check the info that can be verified at this point, like:
- issuer is as expected,
- credentialSubject is the same
- credentialStatus field is placed and has expected type
- type includes
VerifiableCredential
type
- Also, Maybe it worse to double check that all the changes are made for credential statusList objects also. Let's check also, that revocation/suspension/reinstantion also reflect to statusList changes.
️✅ There are no secrets present in this pull request anymore.If these secrets were true positive and are still valid, we highly recommend you to revoke them. 🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request. |
🎉 This PR is included in version 2.13.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
* feat: Add jsonld tests * Debug * use did list * Use existing did in json * assert responses * Update format in payload * Minor fix * Add assertionMethod * Add verify credential tests * Add revocation tests * Run tests with one worker * fix minor issue * Match complete responses * Update package-lock.json * MAke the same style for tests --------- Co-authored-by: Ankur Banerjee <ankurdotb@users.noreply.github.com> Co-authored-by: Andrew Nikitin <andrew.nikitin@cheqd.io>
* feat: Add jsonld tests * Debug * use did list * Use existing did in json * assert responses * Update format in payload * Minor fix * Add assertionMethod * Add verify credential tests * Add revocation tests * Run tests with one worker * fix minor issue * Match complete responses * Update package-lock.json * MAke the same style for tests --------- Co-authored-by: Ankur Banerjee <ankurdotb@users.noreply.github.com> Co-authored-by: Andrew Nikitin <andrew.nikitin@cheqd.io>
No description provided.