diff --git a/modules/identity/test/Volo.Abp.Identity.Domain.Tests/Volo/Abp/Identity/OrganizationUnitManager_Tests.cs b/modules/identity/test/Volo.Abp.Identity.Domain.Tests/Volo/Abp/Identity/OrganizationUnitManager_Tests.cs index 55684108c3..2f9ac794ac 100644 --- a/modules/identity/test/Volo.Abp.Identity.Domain.Tests/Volo/Abp/Identity/OrganizationUnitManager_Tests.cs +++ b/modules/identity/test/Volo.Abp.Identity.Domain.Tests/Volo/Abp/Identity/OrganizationUnitManager_Tests.cs @@ -45,7 +45,7 @@ namespace Volo.Abp.Identity await _organizationUnitManager.UpdateAsync(ou); var ouAfterChange = await _organizationUnitRepository.GetAsync("OU111 Updated"); - ouAfterChange.Code.ShouldContain("123"); + ouAfterChange.DisplayName.ShouldContain("OU111 Updated"); } [Fact]