From e780b5d714be5e65e307fd574d4abea59d3ed7a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Valentin=20Breu=C3=9F?= Date: Sun, 25 Jun 2023 13:54:14 +0200 Subject: [PATCH] Fix failing tests on .NET framework --- .../FileSystem/DirectoryInfo/CreateTests.cs | 2 +- .../FileSystem/FileInfo/CreateTests.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Tests/Testably.Abstractions.Tests/FileSystem/DirectoryInfo/CreateTests.cs b/Tests/Testably.Abstractions.Tests/FileSystem/DirectoryInfo/CreateTests.cs index cd9daa75b..cb4c9437a 100644 --- a/Tests/Testably.Abstractions.Tests/FileSystem/DirectoryInfo/CreateTests.cs +++ b/Tests/Testably.Abstractions.Tests/FileSystem/DirectoryInfo/CreateTests.cs @@ -91,7 +91,7 @@ public void Create_ShouldRefreshExistsCacheForCurrentItem_ExceptOnNetFramework(s { sut1.Exists.Should().BeFalse(); sut2.Exists.Should().BeFalse(); - sut3.Exists.Should().BeFalse(); + sut3.Exists.Should().BeTrue(); } else { diff --git a/Tests/Testably.Abstractions.Tests/FileSystem/FileInfo/CreateTests.cs b/Tests/Testably.Abstractions.Tests/FileSystem/FileInfo/CreateTests.cs index 4567b9108..0e86821f3 100644 --- a/Tests/Testably.Abstractions.Tests/FileSystem/FileInfo/CreateTests.cs +++ b/Tests/Testably.Abstractions.Tests/FileSystem/FileInfo/CreateTests.cs @@ -36,7 +36,7 @@ public void Create_ShouldRefreshExistsCacheForCurrentItem_ExceptOnNetFramework(s { sut1.Exists.Should().BeFalse(); sut2.Exists.Should().BeFalse(); - sut3.Exists.Should().BeFalse(); + sut3.Exists.Should().BeTrue(); } else {