You are here

function CourseObjectWebformTest::setUp in Course 3.x

Overrides CourseTestBase::setUp

File

modules/course_webform/tests/src/Functional/CourseObjectWebformTest.php, line 19

Class

CourseObjectWebformTest
Tests webforms in courses.

Namespace

Drupal\Tests\course_webform\Functional

Code

function setUp() {
  parent::setUp();
  $perms = array(
    'create webform',
    'edit any webform',
  );
  $this->webform_admin = $this
    ->drupalCreateUser($perms);
}