public void Get_course_content_should_not_use_archived_tutorials_in_averageDuration() { // Given const int candidateId = 210962; const int customisationId = 22158; // When var result = courseContentService.GetCourseContent(candidateId, customisationId); // Then result.Should().NotBeNull(); result !.AverageDuration.Should().Be(1); }
public void Get_course_content_should_not_use_status_0_tutorials_in_averageDuration() { // Given const int candidateId = 22966; const int customisationId = 7669; // When var result = courseContentService.GetCourseContent(candidateId, customisationId); // Then result.Should().NotBeNull(); result !.AverageDuration.Should().Be(83); }
public void Get_course_content_uses_overrideTutorialMins_when_calculating_duration() { // Given const int customisationId = 23638; const int candidateId = 286788; // When var result = courseContentService.GetCourseContent(candidateId, customisationId); // Then result.Should().NotBeNull(); result !.AverageDuration.Should().Be(75); }