Skip to content

Commit 0dc8741

Browse files
TD-988: Unit test failure addressed
1 parent 4989696 commit 0dc8741

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

DigitalLearningSolutions.Web.Tests/Controllers/SuperAdmin/CentresControllerTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ public void Get_with_centreId_shows_EditContractInfo_page()
221221
A.CallTo(() => centresDataService.GetContractInfo(CenterId)).Returns(CentreContractAdminUsageTestHelper.GetDefaultEditContractInfo(CenterId));
222222

223223
// When
224-
var result = controller.EditContractInfo(centreId,21,8,2023);
224+
var result = controller.EditContractInfo(centreId,28,8,2023);
225225

226226
// Then
227227
using (new AssertionScope())
@@ -259,7 +259,7 @@ public void Edit_ContractInfo_redirects_with_successful_save()
259259
DateTime date = new DateTime(model.ContractReviewYear.Value, model.ContractReviewMonth.Value, model.ContractReviewDay.Value, 0, 0, 0);
260260

261261
// When
262-
var result = controller.EditContractInfo(model,21,8,2023);
262+
var result = controller.EditContractInfo(model,28,8,2023);
263263

264264
// Then
265265

0 commit comments

Comments
 (0)