Skip to content

Commit

Permalink
refactor: Remove leftover change
Browse files Browse the repository at this point in the history
  • Loading branch information
honzajavorek committed Aug 4, 2017
1 parent 715094a commit 1ee4f0d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/integration/helpers.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,7 @@ createServer = (options = {}) ->
app.use(bodyParserInstance)
app.use((req, res, next) ->
recordServerRequest(serverRuntimeInfo, req)
res.type('json')
res.status(200) # sensible defaults, can be overriden
res.type('json').status(200) # sensible defaults, can be overriden
next()
)
app = https.createServer(getSSLCredentials(), app) if protocol is 'https'
Expand Down

0 comments on commit 1ee4f0d

Please sign in to comment.