0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/test/regression/api/v3/admin
Hannah Wolfe 0f42bbeac3
Moved acceptance test utils into own file
- starting and stopping Ghost is part of our rather unloved acceptance test framework
- moving them into their own file to make the different pieces clearer and also to start to make improvements
- first improvement had to happen as an aside - exposing the existingData property via a function and making the API clearer
- this was a weird thing set on module.exports, very hidden and hard to follow
- Note: stopGhost is only used once in the regression/modles/model_posts_spec.js file to make the test run fast enough...
- These tests are effectively "DB integration" tests e.g. non-unit tests because they do use the DB, they need their own framework
2021-06-01 13:17:45 +01:00
..
authentication_spec.js Added regression tests for the v3 endpoints 2021-01-22 16:32:03 +13:00
db_spec.js Moved acceptance test utils into own file 2021-06-01 13:17:45 +01:00
identities_spec.js Updated tests to reflect jwks-rsa v2 changes 2021-04-16 09:58:47 +01:00
images_spec.js Added regression tests for the v3 endpoints 2021-01-22 16:32:03 +13:00
labels_spec.js Added regression tests for the v3 endpoints 2021-01-22 16:32:03 +13:00
members_signin_url_spec.js Added regression tests for the v3 endpoints 2021-01-22 16:32:03 +13:00
members_spec.js Removed tests dependent on stripe mocking 2021-05-24 11:26:45 +01:00
notifications_spec.js Added regression tests for the v3 endpoints 2021-01-22 16:32:03 +13:00
pages_spec.js Added regression tests for the v3 endpoints 2021-01-22 16:32:03 +13:00
posts_spec.js 🐛 Fixed frontmatter-related validation error 2021-05-13 12:14:05 +04:00
redirects_spec.js Added regression tests for the v3 endpoints 2021-01-22 16:32:03 +13:00
schedules_spec.js Moved acceptance test utils into own file 2021-06-01 13:17:45 +01:00
settings_spec.js Added settings for monthly/yearly price ids 2021-05-18 13:34:31 +05:30
site_spec.js Added regression tests for Admin API /site endpoints 2021-03-09 22:10:27 +13:00
slack_spec.js Expanded requires of lib/common i18n and events 2021-05-03 17:14:52 +01:00
users_spec.js Moved acceptance test utils into own file 2021-06-01 13:17:45 +01:00
utils.js Refactored test utils "post" properties 2021-05-13 15:41:27 +04:00
webhooks_spec.js Fixed fixture creation order in webhooks tests 2021-03-04 10:56:58 +01:00