From f88307f7b98c5c1984a6128489f1cbac09b9d3e0 Mon Sep 17 00:00:00 2001 From: ngfrolov Date: Wed, 23 Nov 2022 17:21:47 +0500 Subject: [PATCH] #7912198 rename methods in tests --- .../ServicesTests/WellFinalDocumentsServiceTest.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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); } }