-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disable unit tests for Decision strategy
- Loading branch information
1 parent
3c36410
commit 7d11ae0
Showing
2 changed files
with
5 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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, | ||
|
@@ -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) | ||
{ | ||
|