File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
LinkDotNet.Blog.UnitTests/Web/Shared/Services
LinkDotNet.Blog.Web/Shared/Services/Sitemap Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ public async Task ShouldSaveSitemapToFile()
74
74
75
75
await sut . SaveSitemapToFileAsync ( sitemap ) ;
76
76
77
- xmlFileWriterMock . Verify ( x => x . WriteObjectToXmlFileAsync ( sitemap , "sitemap.xml" ) ) ;
77
+ xmlFileWriterMock . Verify ( x => x . WriteObjectToXmlFileAsync ( sitemap , "wwwroot/ sitemap.xml" ) ) ;
78
78
}
79
79
}
80
80
}
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ public async Task<SitemapUrlSet> CreateSitemapAsync()
43
43
44
44
public async Task SaveSitemapToFileAsync ( SitemapUrlSet sitemap )
45
45
{
46
- await xmlFileWriter . WriteObjectToXmlFileAsync ( sitemap , "sitemap.xml" ) ;
46
+ await xmlFileWriter . WriteObjectToXmlFileAsync ( sitemap , "wwwroot/ sitemap.xml" ) ;
47
47
}
48
48
49
49
private IEnumerable < SitemapUrl > CreateUrlsForBlogPosts ( IEnumerable < BlogPost > blogPosts )
You can’t perform that action at this time.
0 commit comments