Skip to content

Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.

Fix E2E tests (#33)

Leendert de Borst7ffc1f1ee5f9
diff --git a/.gitignore b/.gitignore
index a2fb22c01..e70b99e3d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -373,4 +373,4 @@ FodyWeavers.xsd
# AliasVault specific
# index.html is generated by the build process from index.template.html and therefore should be ignored
-src/AliasVault.Web/wwwroot/index.html
+src/AliasVault.WebApp/wwwroot/index.html
diff --git a/src/Tests/AliasVault.E2ETests/Infrastructure/WebApplicationFactoryFixture.cs b/src/Tests/AliasVault.E2ETests/Infrastructure/WebApplicationFactoryFixture.cs
index d4207e0d1..39c58d3dd 100644
--- a/src/Tests/AliasVault.E2ETests/Infrastructure/WebApplicationFactoryFixture.cs
+++ b/src/Tests/AliasVault.E2ETests/Infrastructure/WebApplicationFactoryFixture.cs
@@ -33,6 +33,9 @@ public class WebApplicationFactoryFixture<TEntryPoint> : WebApplicationFactory<T
{
builder.UseUrls(HostUrl);
+ // Set the JWT key environment variable to debug value.
+ Environment.SetEnvironmentVariable("JWT_KEY", "12345678901234567890123456789012");
+
builder.ConfigureServices((context, services) =>
{
// Remove the existing AliasDbContext registration.