Skip to content

Commit ad6101d

Browse files
committed
Fixing flawed logic
1 parent 82f7097 commit ad6101d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/Umbraco.Tests.Integration/Umbraco.Core/IO/FileSystemsTests.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ public void Can_Delete_MediaFiles()
5050
Assert.IsFalse(File.Exists(physPath));
5151

5252
// ~/media exists
53-
physPath = Path.GetDirectoryName(physPath);
53+
physPath = Path.GetDirectoryName(physPath); // ~/media/folder
54+
physPath = Path.GetDirectoryName(physPath); // ~/media
5455
Assert.IsTrue(Directory.Exists(physPath));
5556
}
5657

0 commit comments

Comments
 (0)