Skip to content

Commit

Permalink
feat: updated test from list to single model
Browse files Browse the repository at this point in the history
  • Loading branch information
Warren-Pitterson committed Jan 6, 2025
1 parent 91151f0 commit d80ee86
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ public void GetOutstandingCohortRequestAudits_NoOutstandingParticipants_ReturnsE
var result = _createCohortDistributionData.GetNextCohortRequestAudit(lastRequestId);

// Assert
Assert.AreEqual(0, result.Count);
Assert.IsNull(result);
}

[TestMethod]
Expand All @@ -216,8 +216,7 @@ public void GetOutstandingCohortRequestAudits_ValidRequestId_ReturnsAuditList()

// Assert
Assert.IsNotNull(result);
Assert.AreEqual(1, result.Count);
Assert.AreEqual("moreRecentRequestId", result[0].RequestId);
Assert.AreEqual("moreRecentRequestId", result.RequestId);
}

[TestMethod]
Expand Down

0 comments on commit d80ee86

Please sign in to comment.