diff --git a/app/tests/e2e/issuer/test_get_records_paginated.py b/app/tests/e2e/issuer/test_get_records_paginated.py index 1d1fcedf2..79aca8731 100644 --- a/app/tests/e2e/issuer/test_get_records_paginated.py +++ b/app/tests/e2e/issuer/test_get_records_paginated.py @@ -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_member_client.delete(f"{CREDENTIALS_BASE_PATH}/{cred_ex_id}") diff --git a/app/tests/e2e/verifier/test_get_records_paginated.py b/app/tests/e2e/verifier/test_get_records_paginated.py index 4519d7cb0..7b93683c1 100644 --- a/app/tests/e2e/verifier/test_get_records_paginated.py +++ b/app/tests/e2e/verifier/test_get_records_paginated.py @@ -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_member_client.delete(f"{VERIFIER_BASE_PATH}/proofs/{proof_id}")