Skip to content

Commit

Permalink
tests
Browse files Browse the repository at this point in the history
  • Loading branch information
YulNaumenko committed Sep 25, 2024
1 parent 68a33b8 commit c97afeb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ describe('Registration', () => {
getService: (serviceParams: ServiceParams<TestConfig, TestSecrets>) =>
new TestSubActionConnector(serviceParams),
renderParameterTemplates: mockRenderParameterTemplates,
postDeleteEventHandler: mockDeleteEventHandler,
preSaveEventHandler: mockSaveEventHandler,
};

const actionTypeRegistry = actionTypeRegistryMock.create();
Expand All @@ -51,7 +49,11 @@ describe('Registration', () => {
it('registers the connector correctly', async () => {
register<TestConfig, TestSecrets>({
actionTypeRegistry,
connector,
connector: {
...connector,
postDeleteEventHandler: mockDeleteEventHandler,
preSaveEventHandler: mockSaveEventHandler,
},
configurationUtilities: mockedActionsConfig,
logger,
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ export default function ({ getService }: FtrProviderContext) {
'actions:.d3security',
'actions:.email',
'actions:.gemini',
'actions:.inference',
'actions:.gen-ai',
'actions:.index',
'actions:.inference',
'actions:.jira',
'actions:.observability-ai-assistant',
'actions:.opsgenie',
Expand Down

0 comments on commit c97afeb

Please sign in to comment.