Skip to content

Commit 6b128c2

Browse files
committed
TD-2522 Fixes report cookie name in test
1 parent 7a4741a commit 6b128c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DigitalLearningSolutions.Web.Tests/Controllers/TrackingSystem/Centre/ReportsControllerTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public void EditFilters_post_sets_cookie_value()
7070
var result = reportsController.EditFilters(model);
7171

7272
// Then
73-
A.CallTo(() => httpResponse.Cookies.Append("ReportsFilterCookie", A<string>._, A<CookieOptions>._))
73+
A.CallTo(() => httpResponse.Cookies.Append("CourseUsageReportFilterCookie", A<string>._, A<CookieOptions>._))
7474
.MustHaveHappened();
7575
result.Should().BeRedirectToActionResult().WithActionName("Index");
7676
}

0 commit comments

Comments
 (0)