diff --git a/framework/test/Volo.Abp.Emailing.Tests/Volo/Abp/Emailing/EmailTemplateStore_Tests.cs b/framework/test/Volo.Abp.Emailing.Tests/Volo/Abp/Emailing/EmailTemplateStore_Tests.cs index 62a2cb3eb6..1011232e57 100644 --- a/framework/test/Volo.Abp.Emailing.Tests/Volo/Abp/Emailing/EmailTemplateStore_Tests.cs +++ b/framework/test/Volo.Abp.Emailing.Tests/Volo/Abp/Emailing/EmailTemplateStore_Tests.cs @@ -1,4 +1,5 @@ -using System.Threading.Tasks; +using System; +using System.Threading.Tasks; using Shouldly; using Volo.Abp.Emailing.Templates; using Xunit; @@ -38,7 +39,7 @@ namespace Volo.Abp.Emailing { var template = await _emailTemplateProvider.GetAsync("template2", "en"); - template.Content.ShouldContain("\r\n " + "Please confirm your email address by clicking the link below."); + template.Content.ShouldContain($"{Environment.NewLine} " + "Please confirm your email address by clicking the link below."); }