mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
fix: fix IT due to publish of mock connector (#2765)
This commit is contained in:
parent
2543d497f7
commit
8592d22a38
2 changed files with 1 additions and 3 deletions
|
@ -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',
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue