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();