You are here

protected function NoNbspUnitTestCase::setUp in No Non-breaking Space Filter 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

./no_nbsp.test, line 291
Tests for the no_nbsp.module.

Class

NoNbspUnitTestCase
Unit tests.

Code

protected function setUp() {
  drupal_load('module', 'no_nbsp');
  parent::setUp();
}