elweyn
10a22487ef
Withdrew helper/jest.js and replace it with graphql-tag
2023-02-23 09:06:41 +01:00
Moriz Wahl
7b3d530023
close neo4j driver at the end of each test suite
2023-02-13 15:31:58 +01:00
Tima Gixe
15ce070288
Update tests to expect Not Authorized!
2022-08-25 09:08:14 +03:00
Wolfgang Huß
62de9a158e
Fix as quick fix for all reminding tests
2021-07-26 11:36:42 +02:00
Wolfgang Huß
7620d9b4da
Fix linting to this new prettier
2021-07-20 18:30:43 +02:00
roschaefer
fa0e64b7cb
Merge remote-tracking branch 'origin/master' into refactor_factories_with_rosie
...
There was a single step definition that created a post and a comment. I
would say let's put that in two different steps.
2020-02-01 13:33:07 +01:00
roschaefer
fc367297e3
Get rid of different factory files
...
..and fix some cypress tests
2020-01-28 23:12:50 +01:00
roschaefer
2a79c53765
Refactor user factory
2020-01-28 22:43:26 +01:00
roschaefer
b063847849
refactor: Make db:setup init stage of migrate
2020-01-20 11:00:52 +01:00
roschaefer
8f0ce19f09
Implement getDriver() and getNeode() the same way
...
I want to introduce `neode` and `neo4j-graphql-js` to my students and
saw this.
2019-12-05 21:00:24 +01:00
mattwr18
bbd80fbc23
Add test cases for review workflow
2019-11-29 19:45:52 +01:00
mattwr18
89daa3356c
Return reviews with reports, rename variables
...
- Instead of just returning the moderator who reviewed, we return the
review as well
2019-11-28 16:10:33 +01:00
mattwr18
21be2c08ba
Update to return resource instead of to
...
- more verbose makes it easier to understand
2019-11-28 13:44:00 +01:00
mattwr18
d18d9228b0
Refactor tests/resolvers
...
- we were making multiple http requests to report resources in this
test, now we are bypassing these requests by setting the database up to
how we want to test, then testing what we want in isolation.
- also added tests for closing a report
- favor union for returning resource
- simplify review mutation
2019-11-27 17:35:30 +01:00
mattwr18
2f249a73c5
Rename REPORTED Claim to FILED Report
2019-11-26 15:35:48 +01:00
Wolfgang Huß
99af6cbf8a
Implement displaying multiple claims in the frontend
2019-11-22 18:40:51 +01:00
Wolfgang Huß
7de34d3d55
Fix tests by first report before review
2019-11-22 15:56:21 +01:00
Wolfgang Huß
59f53a07c6
Clean up
2019-11-22 15:24:50 +01:00
Wolfgang Huß
ec8910d6eb
Rename decide mutation to review
2019-11-22 15:12:00 +01:00
Wolfgang Huß
ef84e9991f
Merge branch 'master' of github.com:Human-Connection/Human-Connection into 1710-list-and-protocol-moderation
...
# Conflicts:
# backend/src/schema/index.js
2019-11-21 08:09:50 +01:00
Wolfgang Huß
6d9e6e7f0a
Get frontend runnig with new CaseFolder structure first try
2019-11-20 16:22:36 +01:00
Wolfgang Huß
cf02ca4506
Refactor decide mutation to new CaseFolder structure
2019-11-20 15:17:37 +01:00
roschaefer
978347ba7b
Tell github-linguists to ignore snapshots
2019-11-16 20:09:05 +01:00
Wolfgang Huß
96bc855518
Get the backend tests with decide mutation to work #2
2019-11-04 19:13:15 +01:00
Wolfgang Huß
f826039777
Get the backend tests with decide mutation to work #1
2019-11-04 18:33:55 +01:00
Wolfgang Huß
21e82d2ea5
Get decide mutation to work
...
- Tests are not fully working yet!
2019-10-30 19:07:51 +01:00
Wolfgang Huß
54be7782ba
First refactoring tests to new database structure
2019-10-30 16:59:24 +01:00
roschaefer
1952d63b3c
Remove .only from moderation.spec.js
...
@aonomike @vbelolapotkov you made it!! You are the best.
Sure, the disable/enable can be improved by returning a union type. But
I leave that for another PR. 👍
2019-09-20 18:27:37 +02:00
aonomike
347f37efe4
Add enable resources test path
2019-09-20 14:23:39 +03:00
aonomike
8f2456aec4
Test unauthanticated enable
2019-09-19 17:01:42 +03:00
aonomike
bdfc2127d5
fix code review issues
2019-09-18 22:29:14 +03:00
aonomike
ca970eb30a
Refactor disable post updates disabled
2019-09-18 17:59:29 +03:00
aonomike
e109b5f6b1
Refactor disable post updates disabledBy
2019-09-18 17:51:35 +03:00
aonomike
84c1d8ef25
Refactor to eliminate duplicate code and start implementing refactor for Post
2019-09-18 17:31:24 +03:00
aonomike
3e7e240392
Refactor it updates disabled test for Comment
2019-09-17 18:59:21 +03:00
aonomike
5c06ba39e2
Refactor moderate Comment tests
2019-09-17 18:46:45 +03:00
aonomike
a6f4362a3f
Refactor Moderator spec tp use apollo-server-testing
...
- Refactor unauthentiacted path for logged in and un logged in user
2019-09-17 15:51:49 +03:00
Matt Rider
29f39c4f45
Update backend tests
...
- Every test that created or updated a post needed to be updated to add categoryIds
2019-08-20 15:54:51 +02:00
Robert Schäfer
10ae4abaae
Use neode to bring User mutations under control
...
This commit takes all backend changes for signup and invite feature. I
was working on these features and removed the generated mutations for
type user along the way.
2019-07-03 15:58:42 +02:00
177e33c022
fixed spec include paths
2019-06-03 19:34:58 +02:00
f78c54a3e8
refactored backend structure
2019-05-31 19:31:39 +02:00