fix: Welcome emails should not be sent when inviting a user (#2132)
* chore: Bump nodemailer * fix: Welcome email sent to invites * test: Add regression test for emails from accountProvisioner
This commit is contained in:
@ -145,6 +145,6 @@ describe("userCreator", () => {
|
||||
expect(authentication.scopes.length).toEqual(1);
|
||||
expect(authentication.scopes[0]).toEqual("read");
|
||||
expect(user.email).toEqual(invite.email);
|
||||
expect(isNewUser).toEqual(false);
|
||||
expect(isNewUser).toEqual(true);
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user