You are here

function CourseObjectQuizTest::setUp in Course 3.x

Overrides CourseTestBase::setUp

File

modules/course_quiz/tests/src/Functional/CourseObjectQuizTest.php, line 27

Class

CourseObjectQuizTest
Tests quizzes in courses.

Namespace

Drupal\Tests\course_quiz\Functional

Code

function setUp() {
  parent::setUp();
  $this->quiz_admin = $this
    ->drupalCreateUser(array(
    'access quiz',
    'create truefalse quiz_question',
    'update truefalse quiz_question',
    'create quiz quiz',
    'update any quiz quiz',
  ));
}