public async Task BuildersRisk_AddAttachment_ShouldReturnOkStatus() { var testData = _buildersRiskHelpers.GetDefaultTestData(BuildersRiskApplicationStatus.Submitted); var result = await _httpHelpers.CreateApplication(testData); await _httpHelpers.CreateQuote(result.ApplicationId); var attachment = _buildersRiskHelpers.CreateAttachment("ConstructionBudget"); var attachmentResult = await _httpHelpers.UploadAttachment(result.ApplicationId, attachment); attachmentResult.StatusCode.Should().Be(HttpStatusCode.Created); attachmentResult.AttachmentId.Should().NotBe(-1); }