public LearningPath CreateGeneralLearningPath(string organizationId)
        {
            var generalLearningPath = new LearningPath("General", organizationId, isDeletable: false);

            generalLearningPath.UpdateDescription("The user default learning path when the user account is created");

            return(generalLearningPath);
        }
示例#2
0
        public void UpdateDescription_WhenCalled_UpdateLearningPathDescription()
        {
            _sut.UpdateDescription("new description");

            Assert.That(_sut.Description, Is.EqualTo("new description"));
        }
 public void UpdateDescription(LearningPath learningPath, string description)
 {
     learningPath.UpdateDescription(description);
 }