File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed
test/Sentry.AspNetCore.Tests Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -168,12 +168,15 @@ public async Task InvokeAsync_LocksScope_BeforeConfiguringScope()
168168 verified = true ;
169169 } ) ) ;
170170
171- _fixture . Hub . When ( h => h . ConfigureScope ( Arg . Any < Action < Scope , Arg . AnyType > > ( ) , Arg . Any < Arg . AnyType > ( ) ) )
172- . Do ( Callback . First ( c => c . InvokeGenericConfigureScopeMethod ( scope ) ) . Then ( _ =>
173- {
174- Assert . True ( scope . Locked ) ;
175- verified = true ;
176- } ) ) ;
171+ _fixture . Hub
172+ . When ( h => h . ConfigureScope ( Arg . Any < Action < Scope , Arg . AnyType > > ( ) , Arg . Any < Arg . AnyType > ( ) ) )
173+ . Do ( Callback
174+ . First ( c => c . InvokeGenericConfigureScopeMethod ( scope ) )
175+ . Then ( _ =>
176+ {
177+ Assert . True ( scope . Locked ) ;
178+ verified = true ;
179+ } ) ) ;
177180
178181 var sut = _fixture . GetSut ( ) ;
179182
You can’t perform that action at this time.
0 commit comments