Commit b21475aa authored by Ariel Piñeiro's avatar Ariel Piñeiro

Fixed warnings.

parent c868f08b
......@@ -24,7 +24,7 @@ namespace CleanArchitecture.Tests.Core.Entities
item.MarkComplete();
Assert.Equal(1, item.Events.Count());
Assert.Single(item.Events);
Assert.IsType<ToDoItemCompletedEvent>(item.Events.First());
}
}
......
......@@ -26,7 +26,7 @@ namespace CleanArchitecture.Tests.Integration.Data
// Create a new options instance telling the context to use an
// InMemory database and the new service provider.
var builder = new DbContextOptionsBuilder<AppDbContext>();
builder.UseInMemoryDatabase()
builder.UseInMemoryDatabase("db")
.UseInternalServiceProvider(serviceProvider);
return builder.Options;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment