Skip to content

Commit e2d1655

Browse files
TD-4218 Resolving the test failed issue
1 parent c25a84e commit e2d1655

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

DigitalLearningSolutions.Web.Tests/ViewModels/TrackingSystem/Delegates/DelegateProgress/DelegateProgressViewModelTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ public void ViewModel_does_not_include_email_if_not_set()
107107

108108
[Test]
109109
[TestCase(1, "Self enrolled")]
110-
[TestCase(2, "Enrolled by Ronnie Dio")]
110+
[TestCase(2, "Enrolled by Admin - Ronnie Dio")]
111111
[TestCase(3, "Group")]
112112
[TestCase(4, "System")]
113113
public void ViewModel_sets_Enrolment_method_text_correctly(int enrolmentMethodId, string expectedText)

DigitalLearningSolutions.Web/ViewModels/TrackingSystem/Delegates/Shared/DelegateCourseInfoViewModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ private DelegateCourseInfoViewModel(DelegateCourseInfo info)
7777
EnrolmentMethod = info.EnrolmentMethodId switch
7878
{
7979
1 => "Self enrolled",
80-
2 => "Enrolled by Admin",
80+
2 => "Enrolled by Admin - " + (enrolledByFullName),
8181
3 => "Group",
8282
_ => "System",
8383
};

0 commit comments

Comments
 (0)