Ghost/ghost/core/test/regression/models
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
..
base Removed Bluebird from tests 2023-06-23 10:03:03 +02:00
model_collections.test.js Handled sort_order updates for Collections 2023-08-21 12:16:32 +01:00
model_member_stripe_customer.test.js Retain newsletter subscriptions on suppression (#17373) 2023-07-24 10:47:57 +01:00
model_members.test.js Retain newsletter subscriptions on suppression (#17373) 2023-07-24 10:47:57 +01:00
model_posts.test.js Removed usage of unquoted ids in filter strings (#19070) 2023-11-21 09:45:36 +01:00
model_settings.test.js Added new setting to enable Recommendations (#17856) 2023-08-30 08:56:21 +00:00
model_stripe_customer_subscription.test.js Retain newsletter subscriptions on suppression (#17373) 2023-07-24 10:47:57 +01:00
model_users.test.js Removed Bluebird from tests 2023-06-23 10:03:03 +02:00