Skip to content

Commit 4e1aee9

Browse files
Merge pull request #2516 from ita-social-projects/hotfix/1
Hotfix/ 1
2 parents ef5233f + d61678e commit 4e1aee9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Streetcode/Streetcode.WebApi/Program.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,10 @@
7878
}
7979

8080
await app.ApplyMigrations();
81+
if (!builder.Environment.EnvironmentName.Equals("IntegrationTests"))
82+
{
83+
await app.SeedDataAsync();
84+
}
8185

8286
app.AddCleanAudiosJob();
8387
app.AddCleanImagesJob();

0 commit comments

Comments
 (0)