mirror of
https://github.com/zebrajr/express.git
synced 2026-01-15 12:15:27 +00:00
deps: body-parser@2.0.0-beta.1
This commit is contained in:
@@ -195,7 +195,7 @@ describe('express.text()', function () {
|
||||
.post('/')
|
||||
.set('Content-Type', 'text/plain')
|
||||
.send('user is tobi')
|
||||
.expect(200, '{}', done)
|
||||
.expect(200, '', done)
|
||||
})
|
||||
})
|
||||
|
||||
@@ -225,7 +225,7 @@ describe('express.text()', function () {
|
||||
.post('/')
|
||||
.set('Content-Type', 'text/xml')
|
||||
.send('<user>tobi</user>')
|
||||
.expect(200, '{}', done)
|
||||
.expect(200, '', done)
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user