1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-02 16:42:50 -05:00

Finish emails

This commit is contained in:
Justin Baur
2021-11-17 22:06:49 -05:00
parent 0a9d35c43f
commit b0760b2134
12 changed files with 165 additions and 31 deletions

View File

@ -35,7 +35,7 @@ namespace Bit.Core.Test.Services
);
}
[Fact(Skip = "Only for local development")]
[Fact]
public async Task SendAllEmails()
{
// This test is only opt in and is more for development purposes.
@ -115,6 +115,9 @@ namespace Bit.Core.Test.Services
{ ("familyUserEmail", typeof(string)), "test@bitwarden.com" },
{ ("sponsorEmail", typeof(string)), "test@bitwarden.com" },
{ ("familyOrgName", typeof(string)), "Test Org Name" },
{ ("orgCanSponsor", typeof(bool)), true },
{ ("existingAccount", typeof(bool)), true },
{ ("sponsorshipEndDate", typeof(DateTime)), DateTime.UtcNow.AddDays(1)},
};
var globalSettings = new GlobalSettings