Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
pgayvallet committed Jan 20, 2022
1 parent 8067e4f commit 5e9efcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/data/server/search/expressions/esaggs.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ describe('esaggs expression function - server', () => {
test('calls getStartDependencies with the KibanaRequest', async () => {
await definition().fn(null, args, mockHandlers).toPromise();

expect(getStartDependencies).toHaveBeenCalledWith({ id: 'hi' });
expect(getStartDependencies).toHaveBeenCalledWith({ opaqueId: 'hi' });
});

test('calls indexPatterns.create with the values provided by the subexpression arg', async () => {
Expand Down

0 comments on commit 5e9efcf

Please sign in to comment.