You are here

protected function CourseTestBase::createStudentUser in Course 3.x

2 calls to CourseTestBase::createStudentUser()
CourseObjectAccessTest::testDisabledCourseObjects in tests/src/Functional/CourseObjectAccessTest.php
Test disabled course objects do not show up in the course outline and do not block completion.
CourseTestBase::setUp in tests/src/Functional/CourseTestBase.php

File

tests/src/Functional/CourseTestBase.php, line 26

Class

CourseTestBase
Master class for Course tests.

Namespace

Drupal\Tests\course\Functional

Code

protected function createStudentUser() {
  return $this
    ->drupalCreateUser();
}