diff --git a/tests/Foundatio.Tests/Storage/FolderFileStorageTests.cs b/tests/Foundatio.Tests/Storage/FolderFileStorageTests.cs index 54ba6345..6d423ad9 100644 --- a/tests/Foundatio.Tests/Storage/FolderFileStorageTests.cs +++ b/tests/Foundatio.Tests/Storage/FolderFileStorageTests.cs @@ -166,9 +166,9 @@ public async Task WillNotReturnDirectoryInGetPagedFileListAsync() Assert.False(result.HasMore); Assert.Empty(result.Files); - // Ensure the file can (folder storage won't return it as it's a directory) be returned via get file info + // Ensure the directory will not be returned via get file info var info = await storage.GetFileInfoAsync(directory); - Assert.Null(info?.Path); + Assert.Null(info); // Ensure delete files can remove all files including fake folders await storage.DeleteFilesAsync("*"); diff --git a/tests/Foundatio.Tests/Storage/ScopedFolderFileStorageTests.cs b/tests/Foundatio.Tests/Storage/ScopedFolderFileStorageTests.cs index b2160cc1..7ead66db 100644 --- a/tests/Foundatio.Tests/Storage/ScopedFolderFileStorageTests.cs +++ b/tests/Foundatio.Tests/Storage/ScopedFolderFileStorageTests.cs @@ -165,9 +165,9 @@ public async Task WillNotReturnDirectoryInGetPagedFileListAsync() Assert.False(result.HasMore); Assert.Empty(result.Files); - // Ensure the file can (folder storage won't return it as it's a directory) be returned via get file info + // Ensure the directory will not be returned via get file info var info = await storage.GetFileInfoAsync(directory); - Assert.Null(info?.Path); + Assert.Null(info); // Ensure delete files can remove all files including fake folders await storage.DeleteFilesAsync("*");