Skip to content

Commit

Permalink
Update unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
a-gubskiy committed Mar 7, 2023
1 parent 0be6b0d commit 2da856c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public void It_Saves_Two_Sitemaps_If_There_Are_More_Than_50000_Urls_But_Less_Tha

Assert.AreEqual(filesCount, result.Count);
Assert.True(result.All(o => o.Directory.Name == directory.Name));
Assert.True(result.Any(o => o.Name == "file-001.xml"));
Assert.True(result.Any(o => o.Name == "file-002.xml"));
Assert.True(result.Any(o => o.Name == "file-1.xml"));
Assert.True(result.Any(o => o.Name == "file-2.xml"));
}
}
2 changes: 1 addition & 1 deletion tests/X.Web.Sitemap.Tests/X.Web.Sitemap.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<LangVersion>default</LangVersion>
<OutputType>Library</OutputType>
<TargetFrameworks>net6.0;net7.0</TargetFrameworks>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.5.0" />
Expand Down

0 comments on commit 2da856c

Please sign in to comment.