Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit bf18dd8

Browse files
committed
Fix tests
1 parent f7c31a1 commit bf18dd8

File tree

1 file changed

+2
-1
lines changed
  • src/tests/TaskSystemIntegrationTests

1 file changed

+2
-1
lines changed

src/tests/TaskSystemIntegrationTests/Tests.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,10 @@ public void OneTimeSetup()
4242
var syncContext = new ThreadSynchronizationContext(Token);
4343
TaskManager.UIScheduler = new SynchronizationContextTaskScheduler(syncContext);
4444

45-
var env = new DefaultEnvironment();
45+
var env = new DefaultEnvironment(new CacheContainer());
4646
TestBasePath = NPath.CreateTempDirectory("integration tests");
4747
env.FileSystem.SetCurrentDirectory(TestBasePath);
48+
env.Initialize("5.6", TestBasePath, TestBasePath, TestBasePath, TestBasePath.Combine("Assets"));
4849

4950
var repo = Substitute.For<IRepository>();
5051
repo.LocalPath.Returns(TestBasePath);

0 commit comments

Comments
 (0)