Skip to content

Commit

Permalink
environment=Testing
Browse files Browse the repository at this point in the history
  • Loading branch information
juuwel committed Apr 25, 2024
1 parent e687898 commit 50d0326
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Tests/GlobalTestSetup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ public class GlobalTestSetup
[OneTimeSetUp]
public async Task StartApi()
{
await Startup.StartApi(["Testing=true", "--db-init"]);
await Startup.StartApi(["ENVIRONMENT=Testing", "--db-init"]);
}
}
2 changes: 1 addition & 1 deletion api/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public static async Task<WebApplication> StartApi(string[] args)

var builder = WebApplication.CreateBuilder(args);

if (args.Contains("Testing=true"))
if (args.Contains("ENVIRONMENT=Testing"))
{
var dbContainer =
new PostgreSqlBuilder()
Expand Down
File renamed without changes.

0 comments on commit 50d0326

Please sign in to comment.