function CourseOutlineUiTestCase::testCourseOutlineCrud in Course 6
Same name and namespace in other branches
- 7.2 tests/CourseOutlineUiTestCase.test \CourseOutlineUiTestCase::testCourseOutlineCrud()
- 7 tests/CourseOutlineUiTestCase.test \CourseOutlineUiTestCase::testCourseOutlineCrud()
Test creating a course object through the UI.
File
- tests/
CourseOutlineUiTestCase.test, line 37
Class
- CourseOutlineUiTestCase
- Test class for dealing with adding and removing elements from the course outline.
Code
function testCourseOutlineCrud() {
$courseNode = $this
->createCourseNode();
$this
->drupalGet("node/{$courseNode->nid}/course-outline");
$this
->createCourseObjectUi($courseNode);
}