-
Notifications
You must be signed in to change notification settings - Fork 0
Feature/ae 1979 sakkopaatos valitusajan odotus ja umpeutuminen toimenpide #1030
Feature/ae 1979 sakkopaatos valitusajan odotus ja umpeutuminen toimenpide #1030
Conversation
|
||
(def asha-toimenpide? | ||
(partial some-type? #{:rfi-request | ||
:rfi-order | ||
:rfi-warning | ||
:decision-order-hearing-letter | ||
:decision-order-actual-decision | ||
:decision-order-notice-first-mailing11 | ||
:decision-order-notice-first-mailing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ei liity tähän tickettiin, korjattiin typo.
.../test/clj/solita/etp/valvonta_kaytto/sakkopaatos_odotetaan_valitusajan_umpeutumista_test.clj
Show resolved
Hide resolved
etp-backend/src/main/clj/solita/etp/service/valvonta_kaytto/toimenpide.clj
Outdated
Show resolved
Hide resolved
@@ -23,8 +23,12 @@ | |||
11 :decision-order-notice-bailiff | |||
12 :decision-order-waiting-for-deadline | |||
14 :penalty-decision-hearing-letter | |||
15 :change-when-implement-penalty-decision-actual-decision |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Täytyi lisätä kaikille kannassa oleville toimenpiteille jokin placeholder tähän. Näitä on nyt siis idt 15, 18, 21. Laitoin eteen change-when-implement.
Id 19 on tämän ticketin toimenpide.
@@ -52,26 +56,29 @@ | |||
:decision-order-actual-decision | |||
:decision-order-notice-first-mailing | |||
:decision-order-notice-second-mailing | |||
:decision-order-notice-bailiff})) | |||
:decision-order-notice-bailiff | |||
:decision-order-waiting-for-deadline})) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ei liity tähän tickettiin, lisättiin puuttuva toimenpide.
…laceholders for missing
…fix problems Fixed typo in asha-toimenpide? and added missing toimenpide from sakkopaatos-toimenpide?
f33b8ea
to
3c24080
Compare
|
||
(t/testing "Sakkoluettelon lähetys menossa" | ||
(t/testing "has type-id 21 and type-key :change-when-implement-sakkoluettelo-delivery-ongoing" | ||
(t/is (= (toimenpide/type-key 21) :change-when-implement-sakkoluettelo-delivery-ongoing))) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lisätty testi, vaikka toteuttamatta vielä.
(t/is (false? (toimenpide/asha-toimenpide? {:type-id 17}))))) | ||
|
||
(t/testing "Sakkopäätös / tiedoksianto (Haastemies)" | ||
(t/testing "has type-id 18 and type-key :change-when-implement-penalty-decision-notice-bailiff" | ||
(t/is (= (toimenpide/type-key 18) :change-when-implement-penalty-decision-notice-bailiff))) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lisätty testi, vaikka toteuttamatta vielä.
|
||
(t/testing "Sakkopäätös / varsinainen päätös" | ||
(t/testing "has type-id 15 and type-key :change-when-implement-penalty-decision-actual-decision" | ||
(t/is (= (toimenpide/type-key 15) :change-when-implement-penalty-decision-actual-decision))) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lisätty testi, vaikka toteuttamatta vielä.
etp-backend/src/test/clj/solita/etp/service/valvonta_kaytto/toimenpide_test.clj
Outdated
Show resolved
Hide resolved
etp-backend/src/test/clj/solita/etp/service/valvonta_kaytto/toimenpide_test.clj
Outdated
Show resolved
Hide resolved
3c24080
to
215cef6
Compare
Test that: - toimenpide in database has been assigned a type-key - there are no duplicate type-keys - predicates return what's expected for each toimenpide - type-key and type-id are what's expected for toimenpide
ecafb36
to
f1ed862
Compare
No description provided.