Merge remote-tracking branch 'origin/netcore/bugfix/linux-fix-test' into netcore/feature/azure-yaml-pipeline
This commit is contained in:
@@ -15,7 +15,7 @@ namespace Umbraco.Tests.UnitTests.Umbraco.Infrastructure.HostedServices
|
||||
public class TempFileCleanupTests
|
||||
{
|
||||
private Mock<IIOHelper> _mockIOHelper;
|
||||
private string _testPath = Path.GetTempPath();
|
||||
private string _testPath = Path.Combine(TestContext.CurrentContext.TestDirectory.Split("bin")[0], "App_Data", "TEMP");
|
||||
|
||||
[Test]
|
||||
public async Task Does_Not_Execute_When_Not_Main_Dom()
|
||||
|
||||
@@ -47,7 +47,7 @@ namespace Umbraco.Tests.UnitTests.Umbraco.Infrastructure.Logging
|
||||
_newLogfilePath = Path.Combine(_newLogfileDirPath, _logfileName);
|
||||
|
||||
var exampleSearchfilePath = Path.Combine(testRoot, "TestHelpers","Assets", _searchfileName);
|
||||
_newSearchfileDirPath = Path.Combine(hostingEnv.ApplicationPhysicalPath, @"Config");
|
||||
_newSearchfileDirPath = Path.Combine(hostingEnv.ApplicationPhysicalPath, @"config");
|
||||
_newSearchfilePath = Path.Combine(_newSearchfileDirPath, _searchfileName);
|
||||
|
||||
//Create/ensure Directory exists
|
||||
|
||||
Reference in New Issue
Block a user