0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-03-10 22:22:45 -05:00

refactor(test): rename wrong variable (#1690)

This commit is contained in:
IceHe.Life 2022-07-27 18:32:14 +08:00 committed by GitHub
parent bb249e748b
commit 20c8889be8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -93,8 +93,8 @@ test('connector set-up flow', async () => {
).rejects.toThrow(HTTPError);
// To confirm the failed updating request above did not modify the original config,
// we check: the Facebook connector config should stay the same.
const aliyunEmailConnector = await getConnector(facebookConnectorId);
expect(aliyunEmailConnector.config).toEqual(facebookConnectorConfig);
const facebookConnector = await getConnector(facebookConnectorId);
expect(facebookConnector.config).toEqual(facebookConnectorConfig);
/*
* Change to another SMS/Email connector