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 new tests and refactoring #1442

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from
Draft

Conversation

amagyar-iohk
Copy link
Contributor

Description:

Adds more tests and refactoring

Checklist:

  • My PR follows the contribution guidelines of this project
  • My PR is free of third-party dependencies that don't comply with the Allowlist
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • I have checked the PR title to follow the conventional commit specification

bvoiturier and others added 6 commits November 14, 2024 15:43
Signed-off-by: Benjamin Voiturier <benjamin.voiturier@iohk.io>
Signed-off-by: Benjamin Voiturier <benjamin.voiturier@iohk.io>
Signed-off-by: Allain Magyar <allain.magyar@iohk.io>
Signed-off-by: Allain Magyar <allain.magyar@iohk.io>
Copy link
Contributor

Integration Test Results

20 files  ±0  20 suites  ±0   3s ⏱️ ±0s
55 tests +2  55 ✅ +2  0 💤 ±0  0 ❌ ±0 
97 runs  +3  97 ✅ +3  0 💤 ±0  0 ❌ ±0 

Results for commit 1bd032b. ± Comparison against base commit 01f0eb7.

This pull request removes 10 and adds 12 tests. Note that renamed tests count towards both.
Create PRISM DID
Create PRISM DID with disallowed key purpose
Create issuer with <description> expect <httpStatus> response
Expected checks for generated JWT VC
Expected failures
Issuing jwt credential with published PRISM DID using Ed25519
Receive a jwt vc from cloud-agent and verify it
Schema creation should fail for cases
Unsupported verification check should fail
Update PRISM DID keys
Create PRISM DID with <curve> for <purpose>
Create PRISM DID with <curve> for <purpose> should not work
Create issuer with [id=<id>; url=<url>; clientId=<clientId>; clientSecret=<clientSecret>] expect <httpStatus> response
Holder presents sd-jwt out-of-band proof to <verifier>
Issuing jwt credential using <assertionMethod> assertion
Schema creation should fail for <schema_issue>
Unsupported verification <verification> check should fail
Update PRISM DID keys using <curve> for <purpose>
Verify a jwt credential using verification api
Verify a pre-generated jwt credential using verification api
…

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants