From 6b507e4350808942e7f1f8d5ecb697b716207d9e Mon Sep 17 00:00:00 2001 From: 145Game Date: Mon, 17 Feb 2025 13:25:37 +0400 Subject: [PATCH] =?UTF-8?q?=D0=9E=D1=87=D0=B8=D1=81=D1=82=D0=BA=D0=B0=20mo?= =?UTF-8?q?ck-=D0=BE=D0=B1=D1=8A=D0=B5=D0=BA=D1=82=D0=BE=D0=B2=20=D0=B4?= =?UTF-8?q?=D0=B5=D0=BB=D0=B0=D1=82=D1=8C=20=D0=9F=D0=9E=D0=A1=D0=9B=D0=95?= =?UTF-8?q?=20=D0=B7=D0=B0=D0=B2=D0=B5=D1=80=D1=88=D0=B5=D0=BD=D0=B8=D1=8F?= =?UTF-8?q?=20=D1=82=D0=B5=D1=81=D1=82=D0=BE=D0=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../PostBusinessLogicContractTests.cs | 2 +- .../ProductBusinessLogicContractTests.cs | 2 +- .../SalaryBusinessLogicContractTests.cs | 3 ++- .../SaleBusinessLogicContractTests.cs | 2 +- .../WorkerBusinessLogicContractTests.cs | 2 +- 5 files changed, 6 insertions(+), 5 deletions(-) diff --git a/North_Bridge/North_Bridge_Tests/BusinessLogicsContractsTests/PostBusinessLogicContractTests.cs b/North_Bridge/North_Bridge_Tests/BusinessLogicsContractsTests/PostBusinessLogicContractTests.cs index cedf49a..30ec2cc 100644 --- a/North_Bridge/North_Bridge_Tests/BusinessLogicsContractsTests/PostBusinessLogicContractTests.cs +++ b/North_Bridge/North_Bridge_Tests/BusinessLogicsContractsTests/PostBusinessLogicContractTests.cs @@ -23,7 +23,7 @@ internal class PostBusinessLogicContractTests _postBusinessLogicContract = new PostBusinessLogicContract(_postStorageContract.Object, new Mock().Object); } - [SetUp] + [TearDown] public void SetUp() { _postStorageContract.Reset(); diff --git a/North_Bridge/North_Bridge_Tests/BusinessLogicsContractsTests/ProductBusinessLogicContractTests.cs b/North_Bridge/North_Bridge_Tests/BusinessLogicsContractsTests/ProductBusinessLogicContractTests.cs index 9759fb6..1585821 100644 --- a/North_Bridge/North_Bridge_Tests/BusinessLogicsContractsTests/ProductBusinessLogicContractTests.cs +++ b/North_Bridge/North_Bridge_Tests/BusinessLogicsContractsTests/ProductBusinessLogicContractTests.cs @@ -23,7 +23,7 @@ internal class ProductBusinessLogicContractTests _productBusinessLogicContract = new ProductBusinessLogicContract(_productStorageContract.Object, new Mock().Object); } - [SetUp] + [TearDown] public void SetUp() { _productStorageContract.Reset(); diff --git a/North_Bridge/North_Bridge_Tests/BusinessLogicsContractsTests/SalaryBusinessLogicContractTests.cs b/North_Bridge/North_Bridge_Tests/BusinessLogicsContractsTests/SalaryBusinessLogicContractTests.cs index f72cb7d..079a048 100644 --- a/North_Bridge/North_Bridge_Tests/BusinessLogicsContractsTests/SalaryBusinessLogicContractTests.cs +++ b/North_Bridge/North_Bridge_Tests/BusinessLogicsContractsTests/SalaryBusinessLogicContractTests.cs @@ -20,6 +20,7 @@ internal class SalaryBusinessLogicContractTests private Mock _postStorageContract; private Mock _workerStorageContract; + [OneTimeSetUp] public void OneTimeSetUp() { @@ -34,7 +35,7 @@ internal class SalaryBusinessLogicContractTests _salaryBusinessLogicContract = new SalaryBusinessLogicContract(_salaryStorageContract.Object, _saleStorageContract.Object, _postStorageContract.Object, _workerStorageContract.Object, new Mock().Object); } - [SetUp] + [TearDown] public void SetUp() { _salaryStorageContract.Reset(); diff --git a/North_Bridge/North_Bridge_Tests/BusinessLogicsContractsTests/SaleBusinessLogicContractTests.cs b/North_Bridge/North_Bridge_Tests/BusinessLogicsContractsTests/SaleBusinessLogicContractTests.cs index feaf6fb..c094d11 100644 --- a/North_Bridge/North_Bridge_Tests/BusinessLogicsContractsTests/SaleBusinessLogicContractTests.cs +++ b/North_Bridge/North_Bridge_Tests/BusinessLogicsContractsTests/SaleBusinessLogicContractTests.cs @@ -22,7 +22,7 @@ internal class SaleBusinessLogicContractTests _saleBusinessLogicContract = new SaleBusinessLogicContract(_saleStorageContract.Object, new Mock().Object); } - [SetUp] + [TearDown] public void SetUp() { _saleStorageContract.Reset(); diff --git a/North_Bridge/North_Bridge_Tests/BusinessLogicsContractsTests/WorkerBusinessLogicContractTests.cs b/North_Bridge/North_Bridge_Tests/BusinessLogicsContractsTests/WorkerBusinessLogicContractTests.cs index 4af01f8..697b3df 100644 --- a/North_Bridge/North_Bridge_Tests/BusinessLogicsContractsTests/WorkerBusinessLogicContractTests.cs +++ b/North_Bridge/North_Bridge_Tests/BusinessLogicsContractsTests/WorkerBusinessLogicContractTests.cs @@ -23,7 +23,7 @@ internal class WorkerBusinessLogicContractTests _workerBusinessLogicContract = new WorkerBusinessLogicContract(_workerStorageContract.Object, new Mock().Object); } - [SetUp] + [TearDown] public void SetUp() { _workerStorageContract.Reset();