Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.
Change integration test ports so it works with GitHub Actions (#111)
Leendert de Borst7bbf986c0932
diff --git a/src/Tests/AliasVault.IntegrationTests/SmtpServer/SmtpServerTests.cs b/src/Tests/AliasVault.IntegrationTests/SmtpServer/SmtpServerTests.csindex 1113d75e7..b55a7d652 100644--- a/src/Tests/AliasVault.IntegrationTests/SmtpServer/SmtpServerTests.cs+++ b/src/Tests/AliasVault.IntegrationTests/SmtpServer/SmtpServerTests.cs@@ -178,7 +178,7 @@ public class SmtpServerTests{using var client = new SmtpClient();- await client.ConnectAsync("localhost", 25, SecureSocketOptions.None);+ await client.ConnectAsync("localhost", 2525, SecureSocketOptions.None);try{await client.SendAsync(message);diff --git a/src/Tests/AliasVault.IntegrationTests/SmtpServer/TestHostBuilder.cs b/src/Tests/AliasVault.IntegrationTests/SmtpServer/TestHostBuilder.csindex 97ca5fcae..c52e6c004 100644--- a/src/Tests/AliasVault.IntegrationTests/SmtpServer/TestHostBuilder.cs+++ b/src/Tests/AliasVault.IntegrationTests/SmtpServer/TestHostBuilder.cs@@ -83,13 +83,15 @@ public class TestHostBuildervar options = new SmtpServerOptionsBuilder().ServerName("aliasvault");- // No TLS+ // Note: port 25 doesn't work in GitHub actions so we use these instead for the integration tests:+ // - 2525 for the SMTP server+ // - 5870 for the submission serveroptions.Endpoint(serverBuilder =>serverBuilder- .Port(25, false))+ .Port(2525, false)).Endpoint(serverBuilder =>serverBuilder- .Port(587, false)+ .Port(5870, false));return new SmtpServer(options.Build(), provider.GetRequiredService<IServiceProvider>());