Ghost/ghost/core/test/utils
Simon Backx 320eaac4c4
Removed usage of unquoted ids in filter strings (#19031)
fixes GRO-34
fixes GRO-33

This also 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

Also removed some defensive logic that could be explained by unquoted ids.
2023-11-20 14:00:31 +01:00
..
agents
fixtures Removed usage of unquoted ids in filter strings (#19031) 2023-11-20 14:00:31 +01:00
mocks
admin-utils.js
api.js Cleaned up lexicalEditor labs flag, switched Post model to lexical-by-default (#18607) 2023-10-23 17:51:34 +01:00
assertions.js
batch-email-utils.js Cleaned up lexicalEditor labs flag, switched Post model to lexical-by-default (#18607) 2023-10-23 17:51:34 +01:00
configUtils.js
db-utils.js Removed Bluebird Promise.each from db.utils (#17032) 2023-06-23 09:46:41 +02:00
e2e-framework-mock-manager.js Added E2E tests for donations API (#17694) 2023-08-11 14:25:53 +02:00
e2e-framework.js Added Source as the new default theme 2023-10-03 14:02:08 +02:00
e2e-utils.js Added Source as the new default theme 2023-10-03 14:02:08 +02:00
fixture-utils.js Added page html reset and re-render to handle dynamic collection card content (#18265) 2023-09-21 14:51:08 +00:00
index.js 🔒 Fixed filtering on private Author fields in Content API 2023-05-03 08:43:20 -04:00
mocha-retry-reporter.js Enabled and tracked retries in CI tests (#16909) 2023-06-02 09:36:28 +02:00
overrides.js Disabled network retries for webmentions in tests (#18269) 2023-09-21 16:17:05 +02:00
redirects.js
stripe-mocker.js 🐛 Fixed handling multiple Stripe subscriptions for same member (#17773) 2023-08-22 13:27:21 +02:00
url-service-utils.js
urlUtils.js