diff --git a/AsbCloudWebApi.Tests/ServicesTests/WellFinalDocumentsServiceTest.cs b/AsbCloudWebApi.Tests/ServicesTests/WellFinalDocumentsServiceTest.cs index d65e29c7..25cf1d42 100644 --- a/AsbCloudWebApi.Tests/ServicesTests/WellFinalDocumentsServiceTest.cs +++ b/AsbCloudWebApi.Tests/ServicesTests/WellFinalDocumentsServiceTest.cs @@ -72,7 +72,7 @@ namespace AsbCloudWebApi.Tests.ServicesTests [Fact] public async Task GetWellFinalDocument_return_collection_rows() { - var data = await service.GetByWellId(90, 1,CancellationToken.None); + var data = await service.GetByWellIdAsync(90, 1,CancellationToken.None); Assert.NotNull(data); } @@ -86,7 +86,7 @@ namespace AsbCloudWebApi.Tests.ServicesTests [Fact] public async Task GetHistoryFileByIdCategory_return_data_hitory() { - var data = await service.GetFilesHistoryByIdCategory(90, 10018, CancellationToken.None); + var data = await service.GetFilesHistoryByIdCategoryAsync(90, 10018, CancellationToken.None); Assert.NotNull(data); } @@ -94,7 +94,7 @@ namespace AsbCloudWebApi.Tests.ServicesTests public async Task SaveCategoryFile_return_id_edit_record() { var stream = new FileStream("D:\\test\\test.txt", FileMode.Open); - var data = await service.SaveCategoryFile(21, 10018, 78, stream, "test.txt", CancellationToken.None); + var data = await service.SaveCategoryFileAsync(21, 10018, 78, stream, "test.txt", CancellationToken.None); Assert.Equal(21, data); } }