Ghost/core/test/utils
Hannah Wolfe 7999c38fa2 Support filtering based on primary_tag (#9124)
closes #8668, refs #8920

- Updated tests to include internal tags
  - Tests had no example of an internal tag
  - Need this to show that the new filtering works as expected
- primary_tag is a calculated field
- This ensures that we can alias the field to equivalent logic in API filters
- By replacing primary_tag by a lookup based on a tag which has order 0
- bump ghost-gql to 0.0.8

**NOTE:**
Until GQL is refactored, there are limitations on what else can be filtered when using primary_tag in a filter e.g. it wont be possible to do a filter based on primary_tag AND/OR other tag filters.
2017-10-10 14:07:44 +02:00
..
fixtures Support filtering based on primary_tag (#9124) 2017-10-10 14:07:44 +02:00
mocks improvement: add mocks helper module for test env 2016-06-10 09:23:00 +02:00
api.js 🔥 Removed certain fields from public user response (#9069) 2017-09-28 14:00:52 +01:00
assertions.js 🎉 🎨 Remove middleware/index.js (#7548) 2016-10-13 17:24:09 +02:00
configUtils.js 🔥 remove forceAdminSSL and urlSSL, add admin url (#7937) 2017-02-03 18:13:22 +00:00
fork.js Tests: Sort out usage of content folder in tests (#9034) 2017-09-21 15:05:35 +01:00
index.js Added role-specifics to post API tests (#9058) 2017-09-26 16:50:26 +02:00