Ghost/test/regression
Fabien O'Carroll 7785fb6dc5 Refactored usage of pre v4 "unsplash" setting format
refs https://github.com/TryGhost/Ghost/issues/10318

- API changes introduced:

canary/v4 Admin API
GET /settings/ (browse)

+ "unsplash" present in response as boolean value

GET /settings/:settingName (read)

+ "unsplash" present in response as boolean value

PUT /settings/ (edit)

+ "unsplash" updates setting, accepts ONLY  boolean format

v3  Admin API
GET /settings/ (browse)

+ "unsplash" present in response with object value

GET /settings/:settingName (read)

+ "unsplash" present in response with object value

PUT /settings/ (edit)

+ "unsplash" updates setting, accepts either boolean or object formats

v2 Admin API
GET /settings/ (browse)

+ "unsplash" present in response with object value

GET /settings/:settingName (read)

+ "unsplash" present in response with object value

PUT /settings/ (edit)

+ "unsplash" updates setting, accepts object format
2021-02-18 10:55:59 +13:00
..
api Refactored usage of pre v4 "unsplash" setting format 2021-02-18 10:55:59 +13:00
exporter Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
importer Hardcoded labs to always return members:true 2021-02-17 19:55:16 +13:00
migrations Added snippets permissions migration and fixtures (#12283) 2020-10-16 12:53:09 +01:00
models Updated Admin API and Mega to use status flag (#12579) 2021-02-02 16:12:51 +00:00
settings Added routes_hash setting (#12171) 2020-09-07 21:54:55 +12:00
site Split urlServiceUtils from testUtils & unified 2021-02-17 17:36:27 +00:00
update-check Fixed linting error 2021-01-14 18:39:27 +13:00
README.md Updated acceptance&regression test suite readmes 2021-01-22 16:42:02 +13:00

Regression Tests

These tests should ensure that we don't break Ghost for all available APIs.

The goal is that most of these packages use Ghost's API's to test behaviours, otherwise transform the tests into unit tests.