Ghost/ghost/core/test
Simon Backx b6519e0f1f
Removed usage of unquoted ids in filter strings (#19070)
fixes GRO-34
fixes GRO-33

This is a revision of a previous commit, that broke the browser tests
because changes in the data generator (requiring bookshelf had side
effects).

This adds a new way to run all tests with enforced numeric ObjectIDs.
These numeric ids cause issues if they are used withing NQL filters. So
they surface tiny bugs in our codebase.

You can run tests using this option via:
NUMERIC_IDS=1 yarn test:e2e

Removed some defensive logic that could be explained by this discovered
issue.
2023-11-21 09:45:36 +01:00
..
e2e-api Removed usage of unquoted ids in filter strings (#19070) 2023-11-21 09:45:36 +01:00
e2e-browser Updated publishing spec to use a more consistent timezone (#18873) 2023-11-06 07:49:43 +00:00
e2e-frontend Fixed deleting session when requesting identity for invalid session (#19017) 2023-11-16 11:01:50 +00:00
e2e-server Removed usage of unquoted ids in filter strings (#19070) 2023-11-21 09:45:36 +01:00
e2e-webhooks Cleaned up lexicalEditor labs flag, switched Post model to lexical-by-default (#18607) 2023-10-23 17:51:34 +01:00
integration Removed usage of unquoted ids in filter strings (#19070) 2023-11-21 09:45:36 +01:00
regression Removed usage of unquoted ids in filter strings (#19070) 2023-11-21 09:45:36 +01:00
unit Reduced size of social metadata images (#19048) 2023-11-20 12:39:51 +00:00
utils Revert "Removed usage of unquoted ids in filter strings" (#19052) 2023-11-20 13:50:07 +00:00
.eslintignore Added Source as the new default theme 2023-10-03 14:02:08 +02:00
.eslintrc.js Removed all unused variables from test files 2023-03-10 14:29:55 +01:00