joseji
|
16699e19ad
|
small details
|
2022-10-31 14:46:52 +01:00 |
|
joseji
|
f69abcd04c
|
small tests modified
|
2022-10-28 11:46:18 +02:00 |
|
joseji
|
9846e095bf
|
logger now mocked propperly
|
2022-10-28 11:22:58 +02:00 |
|
joseji
|
cbdb68f385
|
missed 1 decimal check on tests
|
2022-10-17 23:22:04 +02:00 |
|
joseji
|
7d17735d7f
|
decimals from db tested propperly and merged master
|
2022-10-14 13:05:00 +02:00 |
|
Wolfgang Huß
|
98e64ed867
|
Merge branch 'master' of github.com:gradido/gradido into disable-change-month-for-contribution-updates
|
2022-10-13 10:10:03 +02:00 |
|
Moriz Wahl
|
bc2889a9f8
|
fix: Disable Change of Month for Update Contribution (wallet and admin)
|
2022-10-11 20:44:41 +02:00 |
|
joseji
|
d799eecada
|
added contributionId and amount to some tests
|
2022-10-11 12:11:18 +02:00 |
|
joseji
|
7061718c1f
|
all conversations solved
|
2022-09-29 12:20:08 +02:00 |
|
joseji
|
744c961c0b
|
fixed tests with new log message
|
2022-09-23 19:33:54 +02:00 |
|
joseji
|
60d2e2ff7b
|
fixed contribution delete event saving and testing
|
2022-09-23 18:46:40 +02:00 |
|
joseji
|
79f7ebce57
|
updated event working, deletion is not working properly (deeper than the event itself)
|
2022-09-22 17:35:41 +02:00 |
|
elweyn
|
4461ff92a5
|
Correct tests after changing login and logout from queries to mutations.
|
2022-09-22 12:22:56 +02:00 |
|
joseji
|
0176131c39
|
errors are now logged, and events are checked
|
2022-09-22 12:07:12 +02:00 |
|
joseji
|
c08aac58a9
|
events and half log tests
|
2022-09-22 11:44:30 +02:00 |
|
elweyn
|
bcb0882a06
|
Add test to updateContribution check if error is thrown when memo length is smaller than 5 or greater than 255 characters.
|
2022-07-25 11:23:28 +02:00 |
|
elweyn
|
180e4ef27d
|
Add test to createContribution that error is thrown when memo length smaller than 5 and greater than 255
|
2022-07-25 11:17:10 +02:00 |
|
elweyn
|
ccc16b4083
|
Test that an already confirmed contribution can not be deleted.
|
2022-07-19 13:09:44 +02:00 |
|
Hannes Heine
|
d5a2c24d7e
|
Merge branch 'master' into 2000-contribution-delete
|
2022-07-19 12:25:12 +02:00 |
|
elweyn
|
e84061c412
|
Added tests for deleteContribution
|
2022-07-18 13:08:27 +02:00 |
|
elweyn
|
42b8d625da
|
Change query fields to new names.
|
2022-07-18 11:38:58 +02:00 |
|
elweyn
|
843993e340
|
Fix linting.
|
2022-07-15 14:34:47 +02:00 |
|
elweyn
|
382211f3ca
|
Adapt test so that we check findAllContributions.
|
2022-07-15 14:14:55 +02:00 |
|
elweyn
|
b86ddbf8b0
|
Fix linting.
|
2022-07-14 18:08:51 +02:00 |
|
elweyn
|
c242f97733
|
Change the test for listAllContributions to have every seed user and create all creations, add Test suite that checks if every seeded data arrives as well.
|
2022-07-14 17:52:31 +02:00 |
|
elweyn
|
34de4bb901
|
Merge conflict on contribution resolver test file
|
2022-07-14 17:42:49 +02:00 |
|
elweyn
|
22602c45b9
|
Merge master into this branch.
|
2022-07-14 17:40:58 +02:00 |
|
elweyn
|
3733bf5114
|
Change con.close to resetToken method.
|
2022-07-14 17:30:21 +02:00 |
|
elweyn
|
246edadc13
|
Test that authenticated user gets allContributions.
|
2022-07-14 17:22:22 +02:00 |
|
elweyn
|
ba90911aec
|
Test that unauthenticated user can not query listAllContributions.
|
2022-07-14 16:57:57 +02:00 |
|
elweyn
|
e1d50cacb5
|
Fix linting.
|
2022-07-13 09:55:21 +02:00 |
|
elweyn
|
c6bab99a2c
|
Add Test that adminUpdateContribution is not allowed on creation made by createContribution mutation.
|
2022-07-13 08:26:30 +02:00 |
|
elweyn
|
32d79bb61c
|
Corrected the spelling errors and withdrew admin creation on update scenario.
|
2022-07-12 13:01:46 +02:00 |
|
Hannes Heine
|
90d2ffbff3
|
Update backend/src/graphql/resolver/ContributionResolver.test.ts
Co-authored-by: Moriz Wahl <moriz.wahl@gmx.de>
|
2022-07-12 12:54:55 +02:00 |
|
Hannes Heine
|
0380609dee
|
Update backend/src/graphql/resolver/ContributionResolver.test.ts
Co-authored-by: Moriz Wahl <moriz.wahl@gmx.de>
|
2022-07-12 12:54:46 +02:00 |
|
elweyn
|
b991bb0467
|
Delete datas after all listContributions and updateContribution Tests.
|
2022-07-12 10:11:28 +02:00 |
|
elweyn
|
46206c4752
|
Handled the merge conflict so that we can continue to work.
|
2022-07-12 10:01:26 +02:00 |
|
elweyn
|
c6ae5760c3
|
Test that the updateContribution mutation updates the contribution with the right values.
|
2022-07-12 09:55:03 +02:00 |
|
elweyn
|
9ee40767bb
|
Change test so that only the date is to old and the amount could be right.
|
2022-07-12 09:45:48 +02:00 |
|
elweyn
|
9e355f9202
|
Test that the updateContribution mutation can not update contribution to a date that is older than 3 month.
|
2022-07-12 09:43:47 +02:00 |
|
elweyn
|
6348756ab3
|
Test that the updateContribution mutation can not update more gdd's than allowed in the month.
|
2022-07-12 09:39:24 +02:00 |
|
elweyn
|
86433478ec
|
Test that only the user that created the contribution can update it with the updateContribution mutation.
|
2022-07-12 09:38:19 +02:00 |
|
elweyn
|
5369aced43
|
Change mutation to include id in the result, write test to update contribution with inexistent id.
|
2022-07-12 09:37:06 +02:00 |
|
elweyn
|
0e13c7c2e1
|
Remove spaces.
|
2022-07-12 08:47:15 +02:00 |
|
elweyn
|
b6f1b0730a
|
Change the orders and structure from the tests for listContributions.
|
2022-07-12 08:44:36 +02:00 |
|
elweyn
|
caf4e9ae3e
|
Change the test name to filterConfirmed is false.
|
2022-07-11 14:04:38 +02:00 |
|
elweyn
|
9239f93096
|
Add no non nullable assertion to admin Creation.
|
2022-07-11 12:21:51 +02:00 |
|
elweyn
|
3718f0dc56
|
Change the test so that we can test if the contribution list finds only created but not confirmed contribution
|
2022-07-11 11:42:24 +02:00 |
|
elweyn
|
03db4ed125
|
Add mutation to updateContribution.
|
2022-07-04 07:41:21 +02:00 |
|
elweyn
|
58a350155b
|
Add tests that confirmed contribution are found and no unconfirmed contributions are found.
|
2022-07-01 12:54:46 +02:00 |
|