Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
mshustov committed Jul 30, 2020
1 parent 3857fd9 commit 5e88645
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/server/elasticsearch/client/configure_client.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ describe('configureClient', () => {
headers: {},
params: {
method: 'GET',
path: '/foo',
path: '/_path',
querystring: { hello: 'dolly' },
},
body: {
Expand All @@ -156,7 +156,7 @@ describe('configureClient', () => {
expect(loggingSystemMock.collect(logger).error).toMatchInlineSnapshot(`
Array [
Array [
"400 GET /foo [illegal_argument_exception]: request [/_path] contains unrecognized parameter: [name]",
"400 GET /_path [illegal_argument_exception]: request [/_path] contains unrecognized parameter: [name]",
],
]
`);
Expand Down

0 comments on commit 5e88645

Please sign in to comment.