25 Commits

Author SHA1 Message Date
elweyn
e37c2aacdb Remove .vue as imports 2023-02-21 07:18:45 +01:00
Moriz Wahl
1de8c94ba3 rename updatePendingCreation 2022-06-15 20:01:53 +02:00
Moriz Wahl
d14d4c5640 remove moderator from update pending creation mutation args 2022-04-27 11:57:41 +02:00
Moriz Wahl
371bfba0ee bv toast in edit creation formular 2022-03-03 12:31:08 +01:00
Moriz Wahl
409280316c refactor edit compoenents form and test it 2022-01-26 18:20:25 +01:00
Moriz Wahl
225b3d4363 get tests working, dyncamic dates in EditCreationFormular tests 2022-01-25 15:02:37 +01:00
Moriz Wahl
5562e0be60 set jest TZ and fix test 2022-01-20 19:13:20 +01:00
Moriz Wahl
455012147c fix timezone issue 2022-01-20 16:50:13 +01:00
Moriz Wahl
4142e6df9f add date, pass date to server 2022-01-20 15:57:13 +01:00
Moriz Wahl
0db297a267 fix test 2022-01-20 14:13:10 +01:00
Moriz Wahl
5e78e4ad07 remove moment. localize date time 2022-01-20 13:42:25 +01:00
elweyn
8521ff311f Update toast is now international. 2022-01-03 08:24:40 +01:00
Alexander Friedland
4330b9d760
Merge branch 'master' into adminCreateMultiplePendingCreations 2021-12-30 14:14:17 +01:00
elweyn
0d431974bd Adding tests for CreationFormular and EditCreationFormular. 2021-12-30 12:35:52 +01:00
ogerly
53e25ab119 yarn test fixed 2021-12-28 17:39:56 +01:00
Moriz Wahl
d2e017f7a9 get skipped test working 2021-12-22 11:48:35 +01:00
elweyn
509fb41cfc Change the test but the moment mock don't work. 2021-12-22 11:04:48 +01:00
elweyn
cb7d79d01e Test that the error are toasted. 2021-12-22 10:44:33 +01:00
elweyn
8a2df2f899 Fixe tests of EditCreationFormular. 2021-12-07 07:28:20 +01:00
Moriz Wahl
a76287c0b0 add toasted error mock 2021-12-06 16:10:07 +01:00
elweyn
e84f30c1fc Merge changes to deletePendingCreation branch. 2021-12-06 14:11:13 +01:00
Moriz Wahl
19e2436452 remove verify login call 2021-12-06 10:59:38 +01:00
elweyn
c7633bb1eb Test submit of EditCreationFormular, remove getCountPendingCreations. 2021-12-04 12:22:48 +01:00
elweyn
9e8e5e56ab Withdrew alert and replaced them with toasted error or console.log, withdrew non required props from the test files. 2021-12-04 11:04:29 +01:00
elweyn
d8a6ac8638 Test the EditCreationFormular & add verifyLogin to it. 2021-12-02 07:53:44 +01:00