You are here

public function FormBuilderAdminTest::setUp in Form Builder 7

Prepare test objects and load includes.

Overrides DrupalUnitTestCase::setUp

File

tests/FormBuilderAdminTest.php, line 8

Class

FormBuilderAdminTest

Code

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