hedgedoc/test/private-api
Philip Molares 6269c7f7bc test: fix expected error codes in multiple test
In the e2e tests the global filter must be added via the special provider 'APP_FILTER' and not with useGlobalFilters, because if not the filter breaks, because of the way supertest handles the http-connection.

See: https://github.com/nestjs/nest/issues/1160#issuecomment-468698640

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2022-02-07 00:08:41 +01:00
..
fixtures PrivateE2E: Add test fixtures for private api 2021-03-24 11:14:48 +01:00
alias.e2e-spec.ts test: fix expected error codes in multiple test 2022-02-07 00:08:41 +01:00
auth.e2e-spec.ts feat(test-setup): restructure to synchronous builder 2022-01-27 21:05:17 +01:00
history.e2e-spec.ts test: fix expected error codes in multiple test 2022-02-07 00:08:41 +01:00
me.e2e-spec.ts feat(test-setup): restructure to synchronous builder 2022-01-27 21:05:17 +01:00
media.e2e-spec.ts test: fix expected error codes in multiple test 2022-02-07 00:08:41 +01:00
notes.e2e-spec.ts test: fix expected error codes in multiple test 2022-02-07 00:08:41 +01:00
register-and-login.e2e-spec.ts feat(test-setup): restructure to synchronous builder 2022-01-27 21:05:17 +01:00
tokens.e2e-spec.ts feat(test-setup): restructure to synchronous builder 2022-01-27 21:05:17 +01:00