Skip to content

Commit

Permalink
style: fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilbaczek committed Nov 18, 2024
1 parent c35f9c1 commit e4f66b2
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ internal async Task Given_contract_preparation_request_with_invalid_height_Then_
}

[Fact]
internal async Task Given_contract_preparation_request_When_contract_for_customer_was_prepared_earlier_and_was_not_signed_yet_Then_should_return_conflict_status_code()
internal async Task
Given_contract_preparation_request_When_contract_for_customer_was_prepared_earlier_and_was_not_signed_yet_Then_should_return_conflict_status_code()
{
// Arrange
var requestParameters = PrepareContractRequestParameters.GetValid();
Expand All @@ -88,13 +89,14 @@ internal async Task Given_contract_preparation_request_When_contract_for_custome
responseMessage?.Title.Should().Be("Previous contract must be signed by the customer");
}

private async Task<HttpResponseMessage> PrepareCorrectContract(PrepareContractRequestParameters requestParameters, Guid? customerId = null)
private async Task<HttpResponseMessage> PrepareCorrectContract(PrepareContractRequestParameters requestParameters,
Guid? customerId = null)
{
PrepareContractRequest prepareContractRequest = new PrepareContractRequestFaker(requestParameters.MinAge,
requestParameters.MaxAge, requestParameters.MinHeight, requestParameters.MaxHeight, customerId);
var prepareContractResponse =
await _applicationHttpClient.PostAsJsonAsync(ContractsApiPaths.Prepare, prepareContractRequest);

return prepareContractResponse;
}
}

0 comments on commit e4f66b2

Please sign in to comment.