From 06db56de98e305d929b12827ab6ff7ea0caef974 Mon Sep 17 00:00:00 2001 From: Galip Tolga Erdem Date: Thu, 30 Apr 2020 19:08:11 +0300 Subject: [PATCH] fixed update test --- .../Volo/Abp/Identity/OrganizationUnitManager_Tests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]