Ghost/ghost/webmentions/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 Added MentionSendingService (#16151) 2023-01-19 17:35:10 +01:00
.eslintrc.js
InMemoryMentionRepository.test.js Removed usage of unquoted ids in filter strings (#19070) 2023-11-21 09:45:36 +01:00
Mention.test.js Added emails for recommendations (#18361) 2023-09-26 15:29:17 +00:00
MentionDiscoveryService.test.js Updated to use assert/strict everywhere (#17047) 2023-06-21 09:56:59 +01:00
MentionsAPI.test.js Added emails for recommendations (#18361) 2023-09-26 15:29:17 +00:00
MentionSendingService.test.js Disabled network retries for webmentions in tests (#18269) 2023-09-21 16:17:05 +02:00