You are here

public function AdminTest::setUp in Form Builder 7.2

Prepare test objects and load includes.

File

tests/AdminTest.php, line 10

Class

AdminTest

Namespace

Drupal\form_builder

Code

public function setUp() {
  parent::setUp();
  $this->form = new FormBase('webform', 'test', NULL, array(), array(), NULL);
  $this->form
    ->save();
  module_load_include('inc', 'form_builder', 'includes/form_builder.admin');
}