From 289087c2825161717435e47c597564c5aba4a117 Mon Sep 17 00:00:00 2001 From: Ma Liming Date: Fri, 9 Jan 2026 20:57:36 +0800 Subject: [PATCH] Update modules/identity/test/Volo.Abp.Identity.Domain.Tests/Volo/Abp/Identity/AbpIdentityErrorDescriber_Tests.cs Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- .../Volo/Abp/Identity/AbpIdentityErrorDescriber_Tests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/identity/test/Volo.Abp.Identity.Domain.Tests/Volo/Abp/Identity/AbpIdentityErrorDescriber_Tests.cs b/modules/identity/test/Volo.Abp.Identity.Domain.Tests/Volo/Abp/Identity/AbpIdentityErrorDescriber_Tests.cs index 86200286fb..77554a3881 100644 --- a/modules/identity/test/Volo.Abp.Identity.Domain.Tests/Volo/Abp/Identity/AbpIdentityErrorDescriber_Tests.cs +++ b/modules/identity/test/Volo.Abp.Identity.Domain.Tests/Volo/Abp/Identity/AbpIdentityErrorDescriber_Tests.cs @@ -326,7 +326,7 @@ public class AbpIdentityErrorDescriber_Tests : AbpIdentityDomainTestBase mismatchResult.Errors.ShouldContain(e => e.Description == "Hatalı şifre."); var recoveryUser = new IdentityUser(Guid.NewGuid(), "recovery_user_tr", "recovery_user_tr@abp.io"); - ObjectHelper.TrySetProperty(recoveryUser, x => x.TwoFactorEnabled , () => true); + ObjectHelper.TrySetProperty(recoveryUser, x => x.TwoFactorEnabled, () => true); (await userManager.CreateAsync(recoveryUser, "Abp123!")).Succeeded.ShouldBeTrue(); var recoveryResult = await userManager.RedeemTwoFactorRecoveryCodeAsync(recoveryUser, "invalid-code");