Browse Source
Merge pull request #14279 from abpframework/liangshiwei/patch-1
Fix unit tests
pull/14282/head
Enis Necipoglu
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
modules/identity/test/Volo.Abp.Identity.TestBase/Volo/Abp/Identity/OrganizationUnitRepository_Tests.cs
|
|
@ -124,7 +124,7 @@ public abstract class OrganizationUnitRepository_Tests<TStartupModule> : AbpIden |
|
|
[Fact] |
|
|
[Fact] |
|
|
public async Task RemoveOrganizationUnitFromUser() |
|
|
public async Task RemoveOrganizationUnitFromUser() |
|
|
{ |
|
|
{ |
|
|
using (var uow = _unitOfWorkManager.Begin()) |
|
|
using (var uow = _unitOfWorkManager.Begin(requiresNew: true, isTransactional: true)) |
|
|
{ |
|
|
{ |
|
|
var ou112 = await _organizationUnitRepository.GetAsync( |
|
|
var ou112 = await _organizationUnitRepository.GetAsync( |
|
|
_lookupNormalizer.NormalizeName("OU112")); |
|
|
_lookupNormalizer.NormalizeName("OU112")); |
|
|
|