Skip to content

Commit

Permalink
commit 4
Browse files Browse the repository at this point in the history
  • Loading branch information
philasmar committed Aug 23, 2024
1 parent 087d5d2 commit 0fccdf2
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@ namespace TestServerlessApp.IntegrationTests
[TestFixture]
public class CustomResponse : IntegrationTestsSetup
{
[Retry(3)]
[Test]
[Retry(5)]
public async Task OkResponseWithHeader_Returns200Status()
{
var response = await HttpClient.GetAsync($"{RestApiUrlPrefix}/okresponsewithheader/1");
response.EnsureSuccessStatusCode();
Assert.That(await response.Content.ReadAsStringAsync(), Is.EqualTo("All Good"));
}

[Retry(3)]
[Test]
[Retry(5)]
public async Task OkResponseWithHeader_ReturnsValidationErrors()
{
var response = await HttpClient.GetAsync($"{RestApiUrlPrefix}/okresponsewithheader/hello");
Expand All @@ -29,8 +29,8 @@ public async Task OkResponseWithHeader_ReturnsValidationErrors()
Assert.That(errorJson["message"].ToString(), Is.EqualTo(expectedErrorMessage));
}

[Retry(3)]
[Test]
[Retry(5)]
public async Task OkResponseWithCustomSerializer_Returns200Status()
{
var response = await HttpClient.GetAsync($"{HttpApiUrlPrefix}/okresponsewithcustomserializerasync/John/Doe");
Expand Down

0 comments on commit 0fccdf2

Please sign in to comment.