Skip to content

Commit

Permalink
Fix test naming
Browse files Browse the repository at this point in the history
  • Loading branch information
vaeinoe committed Dec 18, 2024
1 parent a3a872a commit 5e0de7d
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@
{:application_key application-key
:attachment_key "brexit-passport-attachment"
:hakukohde "payment-info-test-kk-hakukohde"
:state "incomplete-attachment"}])
:state "missing-attachment"}])
[changed payment] (update-exempt-payment application-key)]
(should= 1 (count changed))
(should= payment (first changed))
Expand Down Expand Up @@ -425,7 +425,7 @@
(should-be-matching-state {:application-key application-key, :state state-not-required
:reason reason-exemption} payment)))

(it "should set payment status as not required if an unrelated attachment is missing after deadline"
(it "should set payment status as not required if an unrelated attachment is missing or incomplete after deadline"
(let [application-key (create-past-payment-exempt-by-application)
_ (save-reviews-to-db! [{:application_key application-key
:attachment_key "none-passport-attachment"
Expand All @@ -441,7 +441,7 @@
(should-be-matching-state {:application-key application-key, :state state-not-required
:reason reason-exemption} payment)))

(it "should set payment status as required if an exemption attachment is missing after deadline"
(it "should set payment status as required if an exemption attachment is incomplete after deadline"
(let [application-key (create-past-payment-exempt-by-application)
_ (save-reviews-to-db! [{:application_key application-key
:attachment_key "brexit-permit-attachment"
Expand All @@ -457,7 +457,7 @@
(should-be-matching-state {:application-key application-key, :state state-awaiting
:reason nil} payment)))

(it "should set payment status as required if an exemption attachment is incomplete after deadline"
(it "should set payment status as required if an exemption attachment is missing after deadline"
(let [application-key (create-past-payment-exempt-by-application)
_ (save-reviews-to-db! [{:application_key application-key
:attachment_key "brexit-permit-attachment"
Expand Down

0 comments on commit 5e0de7d

Please sign in to comment.