fix after merge

This commit is contained in:
Степанов Дмитрий 2024-03-13 14:40:56 +03:00
parent 91002da6ac
commit 8f29a9178b

View File

@ -573,9 +573,10 @@ public class ProcessMapPlanDrillingControllerTest: BaseIntegrationTest
const string fileName = "ProcessMapPlanDrillingValid.xlsx";
var stream = Assembly.GetExecutingAssembly().GetFileCopyStream(fileName);
//act
var streamPart = new StreamPart(stream, fileName, "application/octet-stream");
var response = await client.Parse(IdWell, new[] { streamPart });
//act
var response = await client.Parse(IdWell, streamPart);
//assert
Assert.Equal(HttpStatusCode.OK, response.StatusCode);
@ -602,9 +603,10 @@ public class ProcessMapPlanDrillingControllerTest: BaseIntegrationTest
const string fileName = "ProcessMapPlanDrillingInvalid.xlsx";
var stream = Assembly.GetExecutingAssembly().GetFileCopyStream(fileName);
//act
var streamPart = new StreamPart(stream, fileName, "application/octet-stream");
var response = await client.Parse(IdWell, new[] { streamPart });
//act
var response = await client.Parse(IdWell, streamPart);
Assert.Equal(HttpStatusCode.OK, response.StatusCode);