Skip to content

Commit

Permalink
Rename action
Browse files Browse the repository at this point in the history
  • Loading branch information
cnasikas committed Oct 27, 2020
1 parent 79a3647 commit 6b46eb7
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions x-pack/plugins/case/server/client/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ import {

import { create } from './cases/create';
import { update } from './cases/update';
import { addComment } from './comments/add_comment';
import { addComment } from './comments/add';

jest.mock('./cases/create');
jest.mock('./cases/update');
jest.mock('./comments/add_comment');
jest.mock('./comments/add');

const caseService = createCaseServiceMock();
const caseConfigureService = createConfigureServiceMock();
Expand Down
2 changes: 1 addition & 1 deletion x-pack/plugins/case/server/client/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import { CaseClientFactoryArguments, CaseClient } from './types';
import { create } from './cases/create';
import { update } from './cases/update';
import { addComment } from './comments/add_comment';
import { addComment } from './comments/add';

export { CaseClient } from './types';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,8 @@ describe('POST comment', () => {
createMockSavedObjectsRepository({
caseSavedObject: mockCases,
caseCommentSavedObject: mockCaseComments,
})
}),
true
);

const response = await routeHandler(theContext, request, kibanaResponseFactory);
Expand Down

0 comments on commit 6b46eb7

Please sign in to comment.