Skip to content

Commit

Permalink
error message leftovers
Browse files Browse the repository at this point in the history
  • Loading branch information
mshustov committed Aug 2, 2019
1 parent 8f9ecbd commit 869cf56
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/core/server/http/http_server.test.ts
Expand Up @@ -147,7 +147,7 @@ test('invalid params', async () => {
.expect(400)
.then(res => {
expect(res.body).toEqual({
error: '[request params.test]: expected value of type [number] but got [string]',
message: '[request params.test]: expected value of type [number] but got [string]',
});
});
});
Expand Down Expand Up @@ -210,7 +210,7 @@ test('invalid query', async () => {
.expect(400)
.then(res => {
expect(res.body).toEqual({
error: '[request query.bar]: expected value of type [number] but got [string]',
message: '[request query.bar]: expected value of type [number] but got [string]',
});
});
});
Expand Down Expand Up @@ -278,7 +278,7 @@ test('invalid body', async () => {
.expect(400)
.then(res => {
expect(res.body).toEqual({
error: '[request body.bar]: expected value of type [number] but got [string]',
message: '[request body.bar]: expected value of type [number] but got [string]',
});
});
});
Expand Down

0 comments on commit 869cf56

Please sign in to comment.