0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00
ghost/test/regression
Kevin Ansfield 2d091fa8f9 Set mobiledoc.ghostVersion: '3.0' if missing on imported content
refs https://github.com/TryGhost/Ghost/issues/12646

- if the version is missing then the content was created before Ghost 4.0
- setting the version to `'3.0'` means it will continue to use the same rendering output so there are no unexpected breaking changes when migrating content
2021-02-16 12:08:40 +00:00
..
api Refactored usage of the pre v4 "slack" setting 2021-02-15 15:25:54 +13:00
exporter Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
importer Set mobiledoc.ghostVersion: '3.0' if missing on imported content 2021-02-16 12:08:40 +00: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 Added regression tests for the v3 endpoints 2021-01-22 16:32:03 +13: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.