diff --git a/Chapter-1-initial-architecture/Src/Fitnet.IntegrationTests/Contracts/PrepareContract/PrepareContractTests.cs b/Chapter-1-initial-architecture/Src/Fitnet.IntegrationTests/Contracts/PrepareContract/PrepareContractTests.cs index 7bb83e6d..f87ca249 100644 --- a/Chapter-1-initial-architecture/Src/Fitnet.IntegrationTests/Contracts/PrepareContract/PrepareContractTests.cs +++ b/Chapter-1-initial-architecture/Src/Fitnet.IntegrationTests/Contracts/PrepareContract/PrepareContractTests.cs @@ -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(); @@ -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 PrepareCorrectContract(PrepareContractRequestParameters requestParameters, Guid? customerId = null) + private async Task 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; } }