Skip to content

Commit

Permalink
fix: update redirect test #173
Browse files Browse the repository at this point in the history
  • Loading branch information
David Longworth committed Jun 2, 2017
1 parent e1a8abc commit e21d0eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/acceptance/routing.js
Original file line number Diff line number Diff line change
Expand Up @@ -620,7 +620,7 @@ describe("Routing", function(done) {
client
.get("/test")
.set("X-Forwarded-Proto", "https")
.expect(302)
.expect(301)
.end(function(err, res) {
if (err) return done(err)
done()
Expand Down Expand Up @@ -648,7 +648,7 @@ describe("Routing", function(done) {
var httpClient = request(
"http://" + config.get("server.host") + ":9999"
)
httpClient.get("/test").expect(301).end(function(err, res) {
httpClient.get("/test").expect(302).end(function(err, res) {
if (err) return done(err)
done()
})
Expand Down

0 comments on commit e21d0eb

Please sign in to comment.