diff --git a/EventsHandler/Tests/UnitTests/EventsHandler.Tests/Behaviors/Communication/Manager/ScenariosResolverTests.cs b/EventsHandler/Tests/UnitTests/EventsHandler.Tests/Behaviors/Communication/Manager/ScenariosResolverTests.cs index ecd5e36a..02ec5f2c 100644 --- a/EventsHandler/Tests/UnitTests/EventsHandler.Tests/Behaviors/Communication/Manager/ScenariosResolverTests.cs +++ b/EventsHandler/Tests/UnitTests/EventsHandler.Tests/Behaviors/Communication/Manager/ScenariosResolverTests.cs @@ -192,7 +192,7 @@ public async Task DetermineScenarioAsync_ForTaskAssignedScenario_ReturnsExpected Assert.That(actualResult, Is.TypeOf()); } - [Test] + [Test, Ignore("The decision is disabled currently")] // TODO: Enable this test public async Task DetermineScenarioAsync_ForDecisionMadeScenario_ReturnsExpectedScenario() { // Arrange diff --git a/EventsHandler/Tests/UnitTests/EventsHandler.Tests/Behaviors/Communication/Strategy/Base/BaseStrategyTests.cs b/EventsHandler/Tests/UnitTests/EventsHandler.Tests/Behaviors/Communication/Strategy/Base/BaseStrategyTests.cs index a6114c04..a50adb2e 100644 --- a/EventsHandler/Tests/UnitTests/EventsHandler.Tests/Behaviors/Communication/Strategy/Base/BaseStrategyTests.cs +++ b/EventsHandler/Tests/UnitTests/EventsHandler.Tests/Behaviors/Communication/Strategy/Base/BaseStrategyTests.cs @@ -60,8 +60,9 @@ public void GetAllNotifyDataAsync_ForNullCachedCommonPartyData_ThrowsInvalidOper [TestCase(typeof(CaseCaseStatusUpdatedScenario), DistributionChannels.Sms, 1, NotifyMethods.Sms, "+310123456789", 1, 1, 1)] [TestCase(typeof(CaseCaseFinishedScenario), DistributionChannels.Email, 1, NotifyMethods.Email, "test@gmail.com", 1, 1, 1)] [TestCase(typeof(CaseCaseFinishedScenario), DistributionChannels.Sms, 1, NotifyMethods.Sms, "+310123456789", 1, 1, 1)] - [TestCase(typeof(DecisionMadeScenario), DistributionChannels.Email, 1, NotifyMethods.Email, "test@gmail.com", 1, 1, 1)] - [TestCase(typeof(DecisionMadeScenario), DistributionChannels.Sms, 1, NotifyMethods.Sms, "+310123456789", 1, 1, 1)] + // TODO: Enable these tests + //[TestCase(typeof(DecisionMadeScenario), DistributionChannels.Email, 1, NotifyMethods.Email, "test@gmail.com", 1, 1, 1)] + //[TestCase(typeof(DecisionMadeScenario), DistributionChannels.Sms, 1, NotifyMethods.Sms, "+310123456789", 1, 1, 1)] public async Task GetAllNotifyDataAsync_ForValidNotification_WithSingleNotifyMethod_ReturnsExpectedData( Type scenarioType, DistributionChannels testDistributionChannel, int expectedResultsCount, NotifyMethods expectedNotificationMethod, string expectedContactDetails, @@ -96,7 +97,7 @@ public async Task GetAllNotifyDataAsync_ForValidNotification_WithSingleNotifyMet [TestCase(typeof(CaseCreatedScenario), 1, 1, 1)] [TestCase(typeof(CaseCaseStatusUpdatedScenario), 1, 1, 1)] [TestCase(typeof(CaseCaseFinishedScenario), 1, 1, 1)] - [TestCase(typeof(DecisionMadeScenario), 1, 1, 1)] + [TestCase(typeof(DecisionMadeScenario), 1, 1, 1), Ignore("The decision is disabled currently")] // TODO: Enable this test public async Task GetAllNotifyDataAsync_ForValidNotification_WithBothNotifyMethods_ReturnsBothExpectedData( Type scenarioType, int fromInvokeCount, int partyInvokeCount, int caseInvokeCount) {