Ghost/core/test
Nazar Gargol 82e16a749e Corrected regression test for dynamic routing
no issue

- The reason for the test failure was:
- Bump in express version: 5a316c3c80)
- Which included bump of it's internal dependency `send` to version send@0.17.1: https://github.com/expressjs/express/releases/tag/4.17.0)
- Which had a change in how 'xml' type was interpreted: https://github.com/pillarjs/send/pull/154/files
- Because in Ghost documentation for dynamic routing, we clearly state to use `contetn_type: text/xml` instead of just `content_type:xml` the test was considered to be not up to date (ref. https://docs.ghost.org/api/handlebars-themes/routing/routes/)
- Returning `content-type: text/xml; charset=UTF-8` stays in line with the rest of Ghost codebase
- WARNING: when using `res.type('xml')` for whatever reason in the codebase be awere that express will send `application/xml` header which is not the convention used throughout the codebase
2019-07-04 15:43:19 +02:00
..
acceptance 🎨 Made notifications dismissible per user 2019-04-19 09:43:14 +02:00
regression Corrected regression test for dynamic routing 2019-07-04 15:43:19 +02:00
unit Update dependency got to v9 (#10861) 2019-07-04 10:36:51 +02:00
utils Extracted settings service part manipulating routes.yaml (#10800) 2019-06-25 18:33:56 +02:00
.eslintignore Moved grunt-eslint to npm script executing eslint (#10474) 2019-02-11 13:26:06 +01:00
.eslintrc.json ESlint rule: no-multiple-empty-lines 2017-11-06 10:12:18 +00:00
.jshintrc Remove jshint rules that are no longer supported 2015-01-23 21:00:37 +00:00