Commit ebc5ec2
committed
fix: get-subscription - various issues described below
* Controller needed @transactional. This did not show in the integration tests cos they already had @transactional wrapper on the @test which was a BAD IDEA
* Database event_types needed to be an array i.e. varchar(128)p[]. Puzzled why this did not show on the integrations tests
* Entity needs @Enumerated to ensure its saved as string. Might change this to database enum to avoid this
* Lack of exception handler meant some logging was not showing. We not have a global handler to log everything and rethrow
* Added the missing api-test which would have exhibited the error1 parent 3c2dcdf commit ebc5ec2
File tree
1 file changed
+5
-5
lines changed- src/apiTest/java/uk/gov/hmcts/cp/subscription/http
1 file changed
+5
-5
lines changedLines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | | - | |
| 27 | + | |
| 28 | + | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
0 commit comments