Skip to content
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

Merged
merged 19 commits into from
Dec 22, 2023
Merged

Conversation

DaevMithran
Copy link
Contributor

No description provided.

@DaevMithran DaevMithran changed the title feat: Add jsonld tests feat: Add credential api tests [DEV-3238] Dec 11, 2023
@ankurdotb
Copy link
Contributor

@DaevMithran DaevMithran force-pushed the credential-test branch 7 times, most recently from 8b195e8 to 57fc185 Compare December 12, 2023 07:11
@DaevMithran DaevMithran force-pushed the credential-test branch 7 times, most recently from c160998 to bda140d Compare December 12, 2023 11:49
@DaevMithran DaevMithran force-pushed the credential-test branch 2 times, most recently from 7b0a81e to e842826 Compare December 13, 2023 08:03
@DaevMithran DaevMithran force-pushed the credential-test branch 2 times, most recently from c769b8c to a1a9cfb Compare December 13, 2023 08:50
Copy link
Contributor

@lampkin-diet lampkin-diet left a 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.

  1. 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
  1. 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.

@ankurdotb ankurdotb changed the title feat: Add credential api tests [DEV-3238] test: Add credential API tests [DEV-3238] Dec 20, 2023
Copy link

gitguardian bot commented Dec 20, 2023

️✅ 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.
Once a secret has been leaked into a git repository, you should consider it compromised, even if it was deleted immediately.
Find here more information about risks.


🦉 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.

Our GitHub checks need improvements? Share your feedbacks!

@lampkin-diet lampkin-diet enabled auto-merge (squash) December 22, 2023 16:43
@lampkin-diet lampkin-diet merged commit 0c84d9b into develop Dec 22, 2023
6 of 7 checks passed
@lampkin-diet lampkin-diet deleted the credential-test branch December 22, 2023 16:43
@cheqd-bot
Copy link

cheqd-bot bot commented Dec 22, 2023

🎉 This PR is included in version 2.13.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@cheqd-bot cheqd-bot bot added the released label Dec 22, 2023
lampkin-diet pushed a commit that referenced this pull request Dec 26, 2023
* 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>
lampkin-diet pushed a commit that referenced this pull request Dec 26, 2023
* 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

3 participants