File tree Expand file tree Collapse file tree 2 files changed +3
-13
lines changed
Async/SecondLevelCacheTest Expand file tree Collapse file tree 2 files changed +3
-13
lines changed Original file line number Diff line number Diff line change @@ -100,12 +100,7 @@ public async Task InvalidatesEntitiesAsync()
100
100
Assert . That ( invalidations . All ( x => x . Count == 1 && x . First ( ) == "Item" ) , Is . True ) ;
101
101
102
102
}
103
-
104
- private bool IsRight ( HashSet < string > x )
105
- {
106
- return x . Count == 1 && x . First ( ) == "Item" ;
107
- }
108
-
103
+
109
104
public async Task CleanUpAsync ( CancellationToken cancellationToken = default ( CancellationToken ) )
110
105
{
111
106
using ( ISession s = OpenSession ( ) )
@@ -115,7 +110,7 @@ private bool IsRight(HashSet<string> x)
115
110
await ( tx . CommitAsync ( cancellationToken ) ) ;
116
111
}
117
112
}
118
-
113
+
119
114
public void CleanUp ( )
120
115
{
121
116
using ( ISession s = OpenSession ( ) )
Original file line number Diff line number Diff line change @@ -88,12 +88,7 @@ public void InvalidatesEntities()
88
88
Assert . That ( invalidations . All ( x => x . Count == 1 && x . First ( ) == "Item" ) , Is . True ) ;
89
89
90
90
}
91
-
92
- private bool IsRight ( HashSet < string > x )
93
- {
94
- return x . Count == 1 && x . First ( ) == "Item" ;
95
- }
96
-
91
+
97
92
public void CleanUp ( )
98
93
{
99
94
using ( ISession s = OpenSession ( ) )
You can’t perform that action at this time.
0 commit comments