Skip to content

Commit

Permalink
Fixed unit test.
Browse files Browse the repository at this point in the history
  • Loading branch information
hikalkan committed Aug 25, 2017
1 parent 23240d6 commit 957a0b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/AbpCompanyName.AbpProjectName.Web.Tests/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerF
private void UseInMemoryDb(IServiceProvider serviceProvider)
{
var builder = new DbContextOptionsBuilder<AbpProjectNameDbContext>();
builder.UseInMemoryDatabase().UseInternalServiceProvider(serviceProvider);
builder.UseInMemoryDatabase(Guid.NewGuid().ToString()).UseInternalServiceProvider(serviceProvider);
var options = builder.Options;

var iocManager = serviceProvider.GetRequiredService<IIocManager>();
Expand Down

0 comments on commit 957a0b3

Please sign in to comment.