diff options
author | 杨宇千 <crupest@outlook.com> | 2019-10-17 15:13:41 +0800 |
---|---|---|
committer | 杨宇千 <crupest@outlook.com> | 2019-10-17 15:13:41 +0800 |
commit | e54b72c9b01bb953b2e537f778313284b48d759c (patch) | |
tree | 7f19e86f51613b46d3ab3aff02b8abd9f71bb0b0 /Timeline.Tests/Mock/Data/TestDatabase.cs | |
parent | e1fb12bafa9bb5b1d657d223a4131c63cd4c2349 (diff) | |
download | timeline-e54b72c9b01bb953b2e537f778313284b48d759c.tar.gz timeline-e54b72c9b01bb953b2e537f778313284b48d759c.tar.bz2 timeline-e54b72c9b01bb953b2e537f778313284b48d759c.zip |
...
Diffstat (limited to 'Timeline.Tests/Mock/Data/TestDatabase.cs')
-rw-r--r-- | Timeline.Tests/Mock/Data/TestDatabase.cs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/Timeline.Tests/Mock/Data/TestDatabase.cs b/Timeline.Tests/Mock/Data/TestDatabase.cs index 7b4bc65e..dd04f8f9 100644 --- a/Timeline.Tests/Mock/Data/TestDatabase.cs +++ b/Timeline.Tests/Mock/Data/TestDatabase.cs @@ -1,6 +1,5 @@ using Microsoft.Data.Sqlite;
using Microsoft.EntityFrameworkCore;
-using Microsoft.EntityFrameworkCore.Diagnostics;
using System;
using Timeline.Entities;
@@ -25,10 +24,6 @@ namespace Timeline.Tests.Mock.Data var options = new DbContextOptionsBuilder<DatabaseContext>()
.UseSqlite(_databaseConnection)
- .ConfigureWarnings(builder =>
- {
- builder.Throw(RelationalEventId.QueryClientEvaluationWarning);
- })
.Options;
_databaseContext = new DatabaseContext(options);
|