diff --git a/packages/integration-tests/src/__mocks__/connectors-mock.ts b/packages/integration-tests/src/__mocks__/connectors-mock.ts index 0ca4f6695..3c3885cd3 100644 --- a/packages/integration-tests/src/__mocks__/connectors-mock.ts +++ b/packages/integration-tests/src/__mocks__/connectors-mock.ts @@ -150,7 +150,7 @@ export const mockEmailConnectorConfig = { ], }; -export const mockStandardEmailConnectorId = 'mock-standard-email-service'; +export const mockStandardEmailConnectorId = 'mock-email-service-alternative'; export const mockStandardEmailConnectorConfig = { apiKey: 'api-key-value', fromEmail: 'noreply@logto.test.io', diff --git a/packages/integration-tests/src/tests/api/connector.test.ts b/packages/integration-tests/src/tests/api/connector.test.ts index ea2d711ff..7accf8cc8 100644 --- a/packages/integration-tests/src/tests/api/connector.test.ts +++ b/packages/integration-tests/src/tests/api/connector.test.ts @@ -72,10 +72,8 @@ test('connector set-up flow', async () => { /* * Change to another SMS/Email connector */ - // @darcy FIXME: should call post method directly const { id } = await postConnector({ connectorId: mockStandardEmailConnectorId, - metadata: { target: 'mock-standard-mail' }, }); await updateConnectorConfig(id, mockStandardEmailConnectorConfig); connectorIdMap.set(mockStandardEmailConnectorId, id);