Skip to content

Commit

Permalink
Fix index tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mlqn committed Feb 6, 2024
1 parent fdec16d commit b32222a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public async Task GetAppVersion_GivenCsProjFile_ShouldReturnOK(string org, strin
{ "[[appLibVersion]]", backendVersion }, { "[[frontendVersion]]", frontendVersion }
};
await AddCsProjToRepo("App/App.csproj", csprojTemplate, replacements);
await AddFrontendIndexToRepo("App/Views/Home/Index.cshtml", indesCshtmlTemplate, replacements);
await AddFrontendIndexToRepo("App/views/Home/Index.cshtml", indesCshtmlTemplate, replacements);

string url = VersionPrefix(org, targetRepository);

Expand Down Expand Up @@ -101,7 +101,7 @@ public async Task GetAppVersion_GivenIndexFileWithoutFrontendVersion_ShouldRetur
await CopyRepositoryForTest(org, app, developer, targetRepository);
await AddCsProjToRepo("App/App.csproj", csprojTemplate,
new Dictionary<string, string>() { { "[[appLibVersion]]", backendVersion } });
await AddFrontendIndexToRepo("App/Views/Home/Index.cshtml", indesCshtmlTemplate);
await AddFrontendIndexToRepo("App/views/Home/Index.cshtml", indesCshtmlTemplate);
string url = VersionPrefix(org, targetRepository);

using var response = await HttpClient.GetAsync(url);
Expand Down

0 comments on commit b32222a

Please sign in to comment.