Skip to content

Commit

Permalink
Disable unit tests for Decision strategy
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas-M-Krystyan committed Jul 16, 2024
1 parent 3c36410 commit 7d11ae0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ public async Task DetermineScenarioAsync_ForTaskAssignedScenario_ReturnsExpected
Assert.That(actualResult, Is.TypeOf<TaskAssignedScenario>());
}

[Test]
[Test, Ignore("The decision is disabled currently")] // TODO: Enable this test
public async Task DetermineScenarioAsync_ForDecisionMadeScenario_ReturnsExpectedScenario()
{
// Arrange
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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, "[email protected]", 1, 1, 1)]
[TestCase(typeof(CaseCaseFinishedScenario), DistributionChannels.Sms, 1, NotifyMethods.Sms, "+310123456789", 1, 1, 1)]
[TestCase(typeof(DecisionMadeScenario), DistributionChannels.Email, 1, NotifyMethods.Email, "[email protected]", 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, "[email protected]", 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,
Expand Down Expand Up @@ -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)
{
Expand Down

0 comments on commit 7d11ae0

Please sign in to comment.