Skip to content

Commit 67ab4ed

Browse files
committed
Run tests
1 parent b634ff1 commit 67ab4ed

File tree

4 files changed

+21
-2
lines changed

4 files changed

+21
-2
lines changed

.editorconfig

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,30 @@ charset = utf-8-bom
44

55
[*.cs]
66

7+
dotnet_diagnostic.MA0025.severity = suggestion
78
dotnet_diagnostic.S3878.severity = suggestion
89
dotnet_diagnostic.S127.severity = suggestion
910
dotnet_diagnostic.S2857.severity = suggestion
1011
dotnet_diagnostic.S2094.severity = suggestion
1112
dotnet_diagnostic.CA2227.severity = suggestion
13+
dotnet_diagnostic.CA5394.severity = suggestion
14+
dotnet_diagnostic.CA1062.severity = suggestion
15+
dotnet_diagnostic.CA1852.severity = suggestion
16+
dotnet_diagnostic.CA1861.severity = suggestion
17+
dotnet_diagnostic.CA1812.severity = suggestion
1218
dotnet_diagnostic.CA1031.severity = suggestion
19+
dotnet_diagnostic.CA1707.severity = suggestion
20+
dotnet_diagnostic.CA1515.severity = suggestion
21+
dotnet_diagnostic.CA1860.severity = suggestion
22+
dotnet_diagnostic.MA0002.severity = suggestion
23+
dotnet_diagnostic.CA1859.severity = suggestion
24+
dotnet_diagnostic.CA1806.severity = suggestion
25+
dotnet_diagnostic.CA2000.severity = suggestion
26+
dotnet_diagnostic.S1066.severity = suggestion
27+
dotnet_diagnostic.MA0055.severity = suggestion
28+
dotnet_diagnostic.S6562.severity = suggestion
29+
dotnet_diagnostic.S2701.severity = suggestion
30+
dotnet_diagnostic.S2699.severity = suggestion
1331

1432
dotnet_diagnostic.IDE0055.severity = none
1533
dotnet_diagnostic.IDE0160.severity = none

src/Tests/EFCoreSecondLevelCacheInterceptor.UnitTests/EFCoreSecondLevelCacheInterceptor.UnitTests.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
<ImplicitUsings>enable</ImplicitUsings>
1111
<IsPackable>false</IsPackable>
1212
<IsTestProject>true</IsTestProject>
13+
<Nullable>disable</Nullable>
1314
</PropertyGroup>
1415

1516
<ItemGroup>

src/Tests/EFCoreSecondLevelCacheInterceptor.UnitTests/EFDebugLoggerTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ public void NotifyCacheInvalidation_InvokesEFCacheInvalidationInfo()
181181
// Assert
182182
_cacheInvalidationEventMock.Verify(
183183
e => e.Invoke(It.Is<EFCacheInvalidationInfo>(x
184-
=> x.CacheDependencies == cacheDependencies && x.ClearAllCachedEntries == true &&
184+
=> x.CacheDependencies == cacheDependencies && x.ClearAllCachedEntries &&
185185
x.ServiceProvider == _serviceProviderMock.Object)), Times.Once);
186186
}
187187
}

src/Tests/EFCoreSecondLevelCacheInterceptor.UnitTests/EFServiceCollectionExtensionsTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ private class CustomCacheProvider : IEFCacheServiceProvider
139139
public EFCachedData GetValue(EFCacheKey cacheKey, EFCachePolicy cachePolicy)
140140
=> throw new NotImplementedException();
141141

142-
public void InsertValue(EFCacheKey cacheKey, EFCachedData? value, EFCachePolicy cachePolicy)
142+
public void InsertValue(EFCacheKey cacheKey, EFCachedData value, EFCachePolicy cachePolicy)
143143
=> throw new NotImplementedException();
144144

145145
public void InvalidateCacheDependencies(EFCacheKey cacheKey) => throw new NotImplementedException();

0 commit comments

Comments
 (0)