Ghost/ghost/email-service/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
..
utils Improved oversized batch correction logic 2023-06-09 14:40:12 +07:00
.eslintrc.js Added email service package (#15849) 2022-11-21 10:29:53 +01:00
batch-sending-service.test.js Removed usage of unquoted ids in filter strings (#19070) 2023-11-21 09:45:36 +01:00
email-controller.test.js Added test email rate limiting (#17505) 2023-07-27 08:46:50 +02:00
email-event-processor.test.js Updated to use assert/strict everywhere (#17047) 2023-06-21 09:56:59 +01:00
email-event-storage.test.js Removed email from Mailgun's suppression list on unsubscribe (#18922) 2023-11-13 16:56:37 -03:00
email-renderer.test.js Added List-Unsubscribe https endpoint (#18758) 2023-10-25 16:16:31 +02:00
email-segmenter.test.js Added quotes to NQL filters with ids (#18958) 2023-11-13 12:00:20 +01:00
email-service.test.js Updated to use assert/strict everywhere (#17047) 2023-06-21 09:56:59 +01:00
mailgun-email-provider.test.js Added bulkEmail.batchSize option to configure batch size 2023-06-26 12:57:44 +02:00
sending-service.test.js Updated to use assert/strict everywhere (#17047) 2023-06-21 09:56:59 +01:00