Browse Source
Update RequirePermissionsSimpleBatchStateChecker_Tests.cs
pull/9046/head
maliming
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
0 additions and
1 deletions
-
framework/test/Volo.Abp.Authorization.Tests/Volo/Abp/Authorization/RequirePermissionsSimpleBatchStateChecker_Tests.cs
|
|
@ -20,7 +20,6 @@ namespace Volo.Abp.Authorization |
|
|
public void Switch_Current_Checker_Test() |
|
|
public void Switch_Current_Checker_Test() |
|
|
{ |
|
|
{ |
|
|
var checker = RequirePermissionsSimpleBatchStateChecker<MyStateEntity>.Current; |
|
|
var checker = RequirePermissionsSimpleBatchStateChecker<MyStateEntity>.Current; |
|
|
checker.ShouldNotBeNull(); |
|
|
|
|
|
|
|
|
|
|
|
using (RequirePermissionsSimpleBatchStateChecker<MyStateEntity>.Use(new RequirePermissionsSimpleBatchStateChecker<MyStateEntity>())) |
|
|
using (RequirePermissionsSimpleBatchStateChecker<MyStateEntity>.Use(new RequirePermissionsSimpleBatchStateChecker<MyStateEntity>())) |
|
|
{ |
|
|
{ |
|
|
|