fix tests with requirement, replace SetUp with TearDown
This commit is contained in:
parent
18355dcb6c
commit
aa6c5a8721
@ -21,8 +21,8 @@ internal class ComponentBusinessLogicContractTests
|
|||||||
_componentBusinessLogicContract = new ComponentBusinessLogicContract(_componentStorageContract.Object, new Mock<ILogger>().Object);
|
_componentBusinessLogicContract = new ComponentBusinessLogicContract(_componentStorageContract.Object, new Mock<ILogger>().Object);
|
||||||
}
|
}
|
||||||
|
|
||||||
[SetUp]
|
[TearDown]
|
||||||
public void SetUp()
|
public void TearDown()
|
||||||
{
|
{
|
||||||
_componentStorageContract.Reset();
|
_componentStorageContract.Reset();
|
||||||
}
|
}
|
||||||
|
@ -20,8 +20,8 @@ internal class EmployeeBusinessLogicContractTest
|
|||||||
_employeeBusinessLogicContract = new EmployeeBusinessLogicContract(_employeeStorageContract.Object, new Mock<ILogger>().Object);
|
_employeeBusinessLogicContract = new EmployeeBusinessLogicContract(_employeeStorageContract.Object, new Mock<ILogger>().Object);
|
||||||
}
|
}
|
||||||
|
|
||||||
[SetUp]
|
[TearDown]
|
||||||
public void SetUp()
|
public void TearDown()
|
||||||
{
|
{
|
||||||
_employeeStorageContract.Reset();
|
_employeeStorageContract.Reset();
|
||||||
}
|
}
|
||||||
|
@ -19,8 +19,8 @@ internal class InstallationBusinessLogicContractTest
|
|||||||
_installationBusinessLogicContract = new InstallationBusinessLogicContract(_installationStorageContract.Object, new Mock<ILogger>().Object);
|
_installationBusinessLogicContract = new InstallationBusinessLogicContract(_installationStorageContract.Object, new Mock<ILogger>().Object);
|
||||||
}
|
}
|
||||||
|
|
||||||
[SetUp]
|
[TearDown]
|
||||||
public void SetUp()
|
public void TearDown()
|
||||||
{
|
{
|
||||||
_installationStorageContract.Reset();
|
_installationStorageContract.Reset();
|
||||||
}
|
}
|
||||||
|
@ -21,8 +21,8 @@ internal class PostBusinessLogicContractTest
|
|||||||
_postBusinessLogicContract = new PostBusinessLogicContract(_postStorageContract.Object, new Mock<ILogger>().Object);
|
_postBusinessLogicContract = new PostBusinessLogicContract(_postStorageContract.Object, new Mock<ILogger>().Object);
|
||||||
}
|
}
|
||||||
|
|
||||||
[SetUp]
|
[TearDown]
|
||||||
public void SetUp()
|
public void TearDown()
|
||||||
{
|
{
|
||||||
_postStorageContract.Reset();
|
_postStorageContract.Reset();
|
||||||
}
|
}
|
||||||
|
@ -29,8 +29,8 @@ internal class SalaryBusinessLogicContractTest
|
|||||||
_employeeStorageContract.Object, new Mock<ILogger>().Object);
|
_employeeStorageContract.Object, new Mock<ILogger>().Object);
|
||||||
}
|
}
|
||||||
|
|
||||||
[SetUp]
|
[TearDown]
|
||||||
public void SetUp()
|
public void TearDown()
|
||||||
{
|
{
|
||||||
_salaryStorageContract.Reset();
|
_salaryStorageContract.Reset();
|
||||||
_installationStorageContract.Reset();
|
_installationStorageContract.Reset();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user