You are here

function FloatingBlockSettingsUnitTest::setUp in Floating block 7

Sets up unit test environment.

Unlike DrupalWebTestCase::setUp(), DrupalUnitTestCase::setUp() does not install modules because tests are performed without accessing the database. Any required files must be explicitly included by the child class setUp() method.

Overrides DrupalUnitTestCase::setUp

File

tests/floating_block.test, line 17
Tests for floating_block.module.

Class

FloatingBlockSettingsUnitTest
@file Tests for floating_block.module.

Code

function setUp() {
  module_load_include('inc', 'floating_block', 'floating_block.admin');
  parent::setUp();
}