From c883e24cd5c7b9c3cfd957efeaea2e73cc4c925a Mon Sep 17 00:00:00 2001 From: GameBelial <243387971@qq.com> Date: Wed, 6 Jan 2021 17:14:11 +0800 Subject: [PATCH] Fix the problem of path under UNIX-like. --- .../VirtualFiles/LocalizedTemplateContentReaderFactory_Tests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/test/Volo.Abp.TextTemplating.Tests/Volo/Abp/TextTemplating/VirtualFiles/LocalizedTemplateContentReaderFactory_Tests.cs b/framework/test/Volo.Abp.TextTemplating.Tests/Volo/Abp/TextTemplating/VirtualFiles/LocalizedTemplateContentReaderFactory_Tests.cs index b1dba4bdb5..63e526ac1d 100644 --- a/framework/test/Volo.Abp.TextTemplating.Tests/Volo/Abp/TextTemplating/VirtualFiles/LocalizedTemplateContentReaderFactory_Tests.cs +++ b/framework/test/Volo.Abp.TextTemplating.Tests/Volo/Abp/TextTemplating/VirtualFiles/LocalizedTemplateContentReaderFactory_Tests.cs @@ -23,7 +23,7 @@ namespace Volo.Abp.TextTemplating.VirtualFiles var localizedTemplateContentReaderFactory = new LocalizedTemplateContentReaderFactory( new PhysicalFileVirtualFileProvider( new PhysicalFileProvider(Path.Combine(Directory.GetCurrentDirectory(), - @"Volo\Abp\TextTemplating\")))); + "Volo", "Abp", "TextTemplating")))); var reader = await localizedTemplateContentReaderFactory.CreateAsync(_templateDefinitionManager.Get(TestTemplates.WelcomeEmail));