Changed the way the test-data is generated
This commit is contained in:
@@ -6,7 +6,6 @@ using Hutopy.Infrastructure.Data;
|
||||
using Hutopy.Infrastructure.Identity;
|
||||
using Hutopy.Web;
|
||||
using Hutopy.Web.Contents;
|
||||
using Hutopy.Web.Contents.Data;
|
||||
using Hutopy.Web.Messages;
|
||||
using Microsoft.AspNetCore.HttpOverrides;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
@@ -103,7 +102,7 @@ app.UseAuthorization();
|
||||
|
||||
// Initialize and seed the db.
|
||||
await app.InitialiseApplicationDatabaseAsync();
|
||||
await app.InitialiseContentDatabaseAsync();
|
||||
await app.SeedDatabaseWithTestDataOnlyIfNoDataIsPresentAsync();
|
||||
|
||||
// Configure the HTTP request pipeline.
|
||||
if (!app.Environment.IsDevelopment())
|
||||
|
||||
Reference in New Issue
Block a user