Skip to content
This repository has been archived by the owner on Feb 7, 2024. It is now read-only.

Feature/ae 1979 sakkopaatos valitusajan odotus ja umpeutuminen toimenpide #1030

Conversation

solita-juhohaa
Copy link
Contributor

No description provided.


(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
Copy link
Contributor Author

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.

@solita-juhohaa solita-juhohaa marked this pull request as ready for review October 24, 2023 10:37
@@ -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
Copy link
Contributor Author

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}))
Copy link
Contributor Author

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.

@solita-juhohaa solita-juhohaa marked this pull request as draft October 30, 2023 16:14
@solita-juhohaa solita-juhohaa force-pushed the feature/AE-1979-sakkopaatos-valitusajan-odotus-ja-umpeutuminen-toimenpide branch 2 times, most recently from f33b8ea to 3c24080 Compare October 31, 2023 08:14

(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)))
Copy link
Contributor Author

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)))
Copy link
Contributor Author

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)))
Copy link
Contributor Author

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ä.

@solita-juhohaa solita-juhohaa marked this pull request as ready for review October 31, 2023 08:22
@solita-juhohaa solita-juhohaa force-pushed the feature/AE-1979-sakkopaatos-valitusajan-odotus-ja-umpeutuminen-toimenpide branch from 3c24080 to 215cef6 Compare October 31, 2023 11:43
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
@solita-juhohaa solita-juhohaa force-pushed the feature/AE-1979-sakkopaatos-valitusajan-odotus-ja-umpeutuminen-toimenpide branch 2 times, most recently from ecafb36 to f1ed862 Compare October 31, 2023 12:52
@solita-juhohaa solita-juhohaa merged commit a060108 into develop Oct 31, 2023
4 checks passed
@solita-juhohaa solita-juhohaa deleted the feature/AE-1979-sakkopaatos-valitusajan-odotus-ja-umpeutuminen-toimenpide branch October 31, 2023 14:28
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants