function CourseOutlineUiTest::testCourseOutlineCrud in Course 3.x
Test creating a course object through the UI.
1 call to CourseOutlineUiTest::testCourseOutlineCrud()
- CourseOutlineUiTest::testObjectDeletion in tests/
src/ Functional/ CourseOutlineUiTest.php - Test that an object can be marked for deletion from the course outline without validation.
File
- tests/
src/ Functional/ CourseOutlineUiTest.php, line 30
Class
- CourseOutlineUiTest
- Test class for dealing with adding and removing elements from the course outline.
Namespace
Drupal\Tests\course\FunctionalCode
function testCourseOutlineCrud() {
$course = $this
->createCourse();
$this
->drupalGet("course/{$course->id()}/outline");
$this
->createCourseObjectUi($course);
$this
->clickLink('Settings');
}