mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-04-15 03:01:37 -05:00
Merge pull request #7001 from TryGhost/greenkeeper-express-4.14.0
* chore(package): update express to version 4.14.0 * fix test 301 issue
This commit is contained in:
commit
e046ac3f5a
2 changed files with 5 additions and 5 deletions
|
@ -337,9 +337,9 @@ describe('Frontend Routing', function () {
|
|||
.end(doEnd(done));
|
||||
});
|
||||
|
||||
it('http://localhost/blog should 303 to http://localhost/blog/', function (done) {
|
||||
it('http://localhost/blog should 301 to http://localhost/blog/', function (done) {
|
||||
request.get('/blog')
|
||||
.expect(303)
|
||||
.expect(301)
|
||||
.expect('Location', '/blog/')
|
||||
.end(doEnd(done));
|
||||
});
|
||||
|
@ -414,9 +414,9 @@ describe('Frontend Routing', function () {
|
|||
.end(doEnd(done));
|
||||
});
|
||||
|
||||
it('/blog should 303 to /blog/', function (done) {
|
||||
it('/blog should 301 to /blog/', function (done) {
|
||||
request.get('/blog')
|
||||
.expect(303)
|
||||
.expect(301)
|
||||
.expect('Location', '/blog/')
|
||||
.end(doEnd(done));
|
||||
});
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
"cors": "2.7.1",
|
||||
"csv-parser": "1.9.3",
|
||||
"downsize": "0.0.8",
|
||||
"express": "4.13.4",
|
||||
"express": "4.14.0",
|
||||
"express-hbs": "1.0.2",
|
||||
"extract-zip": "1.5.0",
|
||||
"fs-extra": "0.30.0",
|
||||
|
|
Loading…
Add table
Reference in a new issue