61 Commits

Author SHA1 Message Date
einhorn_b
4665d42405 fix add add tests 2023-11-23 19:56:38 +01:00
einhorn_b
f61d61c861 fix test and locals order 2023-11-16 14:26:54 +01:00
einhornimmond
e7683fb05a work on fixing tests 2023-11-16 12:00:35 +01:00
einhorn_b
f492e24cf4 fix lint and tests 2023-08-12 13:08:44 +02:00
Moriz Wahl
a1d12c3c68 do not pass USER role by update role. Simplify logic 2023-07-24 15:40:05 +02:00
elweyn
8934e9205b Change of roles added to CreationConfirm. 2023-07-23 16:43:26 +02:00
Moriz Wahl
3f0b4d88af test user query 2023-06-29 16:28:33 +02:00
Moriz Wahl
5e559d46e2 add query variable to unit tests 2023-06-29 16:19:05 +02:00
elweyn
45b3dc8295 Refactor state to status for contribution in admin. 2023-06-27 10:04:54 +02:00
Moriz Wahl
2e88ac3cb9 move describe block 2023-04-11 12:38:25 +02:00
Moriz Wahl
94f0963313 test reset current page on tab change properly 2023-04-11 12:35:20 +02:00
elweyn
c5b591ca5d Test that currentPage is reset when switching tab. 2023-04-05 13:18:44 +02:00
Moriz Wahl
e48bbd7b47 rename admin list all contributions query 2023-03-07 17:33:18 +01:00
Moriz Wahl
cfac7a81d6 improved spec for refetch after filter updates 2023-02-28 18:44:52 +01:00
Moriz Wahl
a811b2bf2d rename query file and query, update specs 2023-02-28 18:28:52 +01:00
elweyn
e37c2aacdb Remove .vue as imports 2023-02-21 07:18:45 +01:00
Moriz Wahl
ddbdbe4224 Merge branch 'master' into 2594-contributions-list-frontend 2023-02-14 17:05:11 +01:00
Moriz Wahl
25b1a6de44 fix(admin): deny contribution button to left 2023-02-10 15:55:16 +01:00
Moriz Wahl
192e43888c fix unit tests, rename state to status where possible 2023-02-06 17:54:14 +01:00
ogerly
c6133c804b fix tests 2023-02-06 14:02:23 +01:00
ogerly
c6cbf01fbc refactor code, one table 2023-02-03 15:29:08 +01:00
elweyn
2f787043c1 Remove some function emits, remove comments of wip. 2023-01-25 13:41:35 +01:00
elweyn
2eff5d99cd Add test suite for deny prozess. 2023-01-25 13:34:33 +01:00
Hannes Heine
309eddd841
Merge branch 'master' into 2370-feature-deleting-contribution-must-be-analog-to-confirming-contribution-dialog 2023-01-25 12:21:37 +01:00
elweyn
57222d07c4 Change rejected to deny, add error test for denyContribution & remove TODO comment. 2023-01-24 15:56:58 +01:00
elweyn
2291cc813e Change en translation from deny to reject. 2023-01-24 15:47:31 +01:00
elweyn
62c85476d4 Correct tests. 2023-01-24 15:29:19 +01:00
elweyn
da652e6745 Rename reject to deny and rejected to denied. 2023-01-24 15:22:37 +01:00
elweyn
c73135e522 Change deny to reject. 2023-01-17 16:11:14 +01:00
elweyn
191d86beee Add tests for decline button 2023-01-17 15:40:28 +01:00
mahula
e607d60962 adapt unit tests for creation confirmation page to changes 2023-01-17 14:20:39 +01:00
Moriz Wahl
2e070cef7b remove stupid comments 2022-11-03 20:05:57 +01:00
Moriz Wahl
2746c4718a test apollo client with apollo client mock library 2022-11-03 19:53:24 +01:00
Moriz Wahl
a8247da3d4 use apollo correctly 2022-11-03 14:24:09 +01:00
ogerly
3ec2fd8e0d fix test 2022-09-06 11:24:00 +02:00
Moriz Wahl
55cb72c0b7
Merge branch 'master' into add-confirm-dialog-on-delete-contribution 2022-07-26 12:12:36 +02:00
Moriz Wahl
00ca2bb9a9 set moderator > 0, as we have no ids with value 0 and 0 evaluates to false 2022-07-25 14:37:40 +02:00
Moriz Wahl
0b97e8e38e test the confirm deletion modal 2022-07-25 14:31:16 +02:00
Moriz Wahl
2b87cbcd18 rename confirmPendingCreation 2022-06-15 19:33:40 +02:00
Moriz Wahl
dd04f69ecc rename deletePendingCreation 2022-06-15 19:22:01 +02:00
Moriz Wahl
d95b1893cd rename getPendingCreations 2022-06-15 19:13:19 +02:00
Moriz Wahl
16501a7488 bv toast in creation confirm page 2022-03-03 12:36:57 +01:00
Moriz Wahl
6aeb174532 fix tests 2022-02-23 09:40:30 +01:00
Moriz Wahl
547ce903a6 fix test 2022-02-09 09:57:36 +01:00
Moriz Wahl
301ceb38a8 test creation confitmation by clicks instead of emits 2022-02-04 16:59:54 +01:00
Moriz Wahl
50062f2415 Merge branch 'fix-creation-confirmation' into localize-datetime-admin 2022-01-26 16:32:34 +01:00
Moriz Wahl
eb2d2a0d3d fix typo 2022-01-26 15:13:12 +01:00
Moriz Wahl
1c833d394f fix and improve test 2022-01-26 15:06:37 +01:00
Moriz Wahl
ec0df5be14 Merge branch 'master' into localize-datetime-admin 2022-01-24 18:51:26 +01:00
elweyn
67df695227 Localized the CreationConfirm toasted messages. 2022-01-21 13:19:36 +01:00