Skip to content

Commit

Permalink
🎨 clean-up alice exchange records too
Browse files Browse the repository at this point in the history
  • Loading branch information
ff137 committed Aug 21, 2024
1 parent d36fbde commit 2ed51b5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/tests/e2e/issuer/test_get_records_paginated.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,3 +118,6 @@ async def test_get_credential_exchange_records_paginated(
# Clean up created credentials
for cred_ex_id in faber_cred_ex_ids:
await faber_client.delete(f"{CREDENTIALS_BASE_PATH}/{cred_ex_id}")
for alice_credential in alice_prev_credentials:
cred_ex_id = alice_credential["credential_exchange_id"]
await alice_client.delete(f"{CREDENTIALS_BASE_PATH}/{cred_ex_id}")
3 changes: 3 additions & 0 deletions app/tests/e2e/verifier/test_get_records_paginated.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,3 +114,6 @@ async def test_get_presentation_exchange_records_paginated(
# Clean up created presentation requests
for proof_id in acme_proof_ids:
await acme_client.delete(f"{VERIFIER_BASE_PATH}/proofs/{proof_id}")
for alice_proof in alice_previous_proofs:
proof_id = alice_proof["proof_id"]
await alice_client.delete(f"{VERIFIER_BASE_PATH}/proofs/{proof_id}")

0 comments on commit 2ed51b5

Please sign in to comment.