Skip to content

Commit 803141e

Browse files
fix: add missing validation to a test
1 parent 7f33c93 commit 803141e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/resources/test_verifications.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,4 +93,5 @@ def test_retrieve_verification_invalid_govt(verification_with_govt_expired):
9393
def test_retrieve_verification_invalid_poa(verification_with_poa_expired):
9494
verification = verification_with_poa_expired
9595
assert not verification.proof_of_residency_validation.is_valid
96-
assert verification.proof_of_residency_validation.error_codes
96+
errors = verification.proof_of_residency_validation.error_codes
97+
assert 'document.expired' in errors

0 commit comments

Comments
 (0)