From ce2ba3fa55cf530dee198c708f504b4dbb7ae933 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A4in=C3=B6=20Ala-H=C3=A4rk=C3=B6nen?= Date: Wed, 18 Dec 2024 09:55:22 +0200 Subject: [PATCH] Fix test naming --- .../kk_application_payment_spec.clj | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/spec/ataru/kk_application_payment/kk_application_payment_spec.clj b/spec/ataru/kk_application_payment/kk_application_payment_spec.clj index 97e83a291a..b44bd30596 100644 --- a/spec/ataru/kk_application_payment/kk_application_payment_spec.clj +++ b/spec/ataru/kk_application_payment/kk_application_payment_spec.clj @@ -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)) @@ -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" @@ -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" @@ -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"