diff --git a/src/Employer/UnitTests/Employer.Web/Orchestrators/CloneVacancyOrchestratorTest/GetCloneVacancyDatesQuestionViewModelAsyncTests.cs b/src/Employer/UnitTests/Employer.Web/Orchestrators/CloneVacancyOrchestratorTest/GetCloneVacancyDatesQuestionViewModelAsyncTests.cs index f075a15851..ccedbd3634 100644 --- a/src/Employer/UnitTests/Employer.Web/Orchestrators/CloneVacancyOrchestratorTest/GetCloneVacancyDatesQuestionViewModelAsyncTests.cs +++ b/src/Employer/UnitTests/Employer.Web/Orchestrators/CloneVacancyOrchestratorTest/GetCloneVacancyDatesQuestionViewModelAsyncTests.cs @@ -10,17 +10,6 @@ namespace Esfa.Recruit.UnitTests.Employer.Web.Orchestrators.CloneVacancyOrchestr { public class GetCloneVacancyDatesQuestionViewModelAsyncTests : CloneVacancyOrchestratorTestBase { - [Fact] - public async Task WhenStatusIsClosed_ThenThrowInvalidStateException() - { - var vacancy = SourceVacancy; - vacancy.Status = VacancyStatus.Closed; - - var sut = GetSut(vacancy); - - await Assert.ThrowsAsync(() => sut.GetCloneVacancyDatesQuestionViewModelAsync(VRM)); - } - [Fact] public async Task WhenClosingDateIsInPast_ThenThrowInvalidStateException() { diff --git a/src/Employer/UnitTests/Employer.Web/Orchestrators/CloneVacancyOrchestratorTest/IsNewDatesRequiredTests.cs b/src/Employer/UnitTests/Employer.Web/Orchestrators/CloneVacancyOrchestratorTest/IsNewDatesRequiredTests.cs index e161e80869..d91ac4b5f3 100644 --- a/src/Employer/UnitTests/Employer.Web/Orchestrators/CloneVacancyOrchestratorTest/IsNewDatesRequiredTests.cs +++ b/src/Employer/UnitTests/Employer.Web/Orchestrators/CloneVacancyOrchestratorTest/IsNewDatesRequiredTests.cs @@ -7,14 +7,6 @@ namespace Esfa.Recruit.UnitTests.Employer.Web.Orchestrators.CloneVacancyOrchestr { public class IsNewDatesRequiredTests : CloneVacancyOrchestratorTestBase { - [Fact] - public void WhenStatusIsClosed_ThenReturnTrue() - { - var sut = GetSut(SourceVacancy); - var vacancy = new Vacancy{Status = VacancyStatus.Closed}; - sut.IsNewDatesRequired(vacancy).Should().BeTrue(); - } - [Fact] public void WhenStatusIsLiveAndDatesAreInFuture_ThenReturnFalse() { diff --git a/src/Provider/UnitTests/Provider.Web/Orchestrators/CloneVacancyOrchestratorTest/GetCloneVacancyDatesQuestionViewModelAsyncTests.cs b/src/Provider/UnitTests/Provider.Web/Orchestrators/CloneVacancyOrchestratorTest/GetCloneVacancyDatesQuestionViewModelAsyncTests.cs index 057f88a3e3..daa9eeb03c 100644 --- a/src/Provider/UnitTests/Provider.Web/Orchestrators/CloneVacancyOrchestratorTest/GetCloneVacancyDatesQuestionViewModelAsyncTests.cs +++ b/src/Provider/UnitTests/Provider.Web/Orchestrators/CloneVacancyOrchestratorTest/GetCloneVacancyDatesQuestionViewModelAsyncTests.cs @@ -10,17 +10,6 @@ namespace Esfa.Recruit.UnitTests.Provider.Web.Orchestrators.CloneVacancyOrchestr { public class GetCloneVacancyDatesQuestionViewModelAsyncTests : CloneVacancyOrchestratorTestBase { - [Fact] - public async Task WhenStatusIsClosed_ThenThrowInvalidStateException() - { - var vacancy = SourceVacancy; - vacancy.Status = VacancyStatus.Closed; - - var sut = GetSut(vacancy); - - await Assert.ThrowsAsync(() => sut.GetCloneVacancyDatesQuestionViewModelAsync(VRM)); - } - [Fact] public async Task WhenClosingDateIsInPast_ThenThrowInvalidStateException() { diff --git a/src/Provider/UnitTests/Provider.Web/Orchestrators/CloneVacancyOrchestratorTest/IsNewDatesRequiredTests.cs b/src/Provider/UnitTests/Provider.Web/Orchestrators/CloneVacancyOrchestratorTest/IsNewDatesRequiredTests.cs index 60abb65e8a..2b90d0486f 100644 --- a/src/Provider/UnitTests/Provider.Web/Orchestrators/CloneVacancyOrchestratorTest/IsNewDatesRequiredTests.cs +++ b/src/Provider/UnitTests/Provider.Web/Orchestrators/CloneVacancyOrchestratorTest/IsNewDatesRequiredTests.cs @@ -7,14 +7,6 @@ namespace Esfa.Recruit.UnitTests.Provider.Web.Orchestrators.CloneVacancyOrchestr { public class IsNewDatesRequiredTests : CloneVacancyOrchestratorTestBase { - [Fact] - public void WhenStatusIsClosed_ThenReturnTrue() - { - var sut = GetSut(SourceVacancy); - var vacancy = new Vacancy{Status = VacancyStatus.Closed}; - sut.IsNewDatesRequired(vacancy).Should().BeTrue(); - } - [Fact] public void WhenStatusIsLiveAndDatesAreInFuture_ThenReturnFalse() {