hedgedoc/test/private-api
David Mehren 9030488025 test: make tests order-independent
MariaDB seems to order the returned media objects in a different way,
making our tests fail.

This refactors the tests to be independent of the order of returned data.

Signed-off-by: David Mehren <git@herrmehren.de>
2022-03-06 22:24:21 +01:00
..
fixtures PrivateE2E: Add test fixtures for private api 2021-03-24 11:14:48 +01:00
alias.e2e-spec.ts test: ensure testSetup.cleanup is called 2022-03-06 22:24:21 +01:00
auth.e2e-spec.ts test: ensure testSetup.cleanup is called 2022-03-06 22:24:21 +01:00
groups.e2e-spec.ts test: ensure testSetup.cleanup is called 2022-03-06 22:24:21 +01:00
history.e2e-spec.ts test: ensure testSetup.cleanup is called 2022-03-06 22:24:21 +01:00
me.e2e-spec.ts test: make tests order-independent 2022-03-06 22:24:21 +01:00
media.e2e-spec.ts test: ensure testSetup.cleanup is called 2022-03-06 22:24:21 +01:00
notes.e2e-spec.ts test: ensure testSetup.cleanup is called 2022-03-06 22:24:21 +01:00
register-and-login.e2e-spec.ts test: ensure testSetup.cleanup is called 2022-03-06 22:24:21 +01:00
tokens.e2e-spec.ts refactor(api/private/tokens): validate POST data with DTO 2022-03-06 22:24:21 +01:00
users.e2e-spec.ts test: ensure testSetup.cleanup is called 2022-03-06 22:24:21 +01:00