You are here

public function UnitsUIWebTestCase::setUp in Units of Measurement 7

Same name and namespace in other branches
  1. 7.2 units_ui.test \UnitsUIWebTestCase::setUp()

Set up method.

Overrides DrupalWebTestCase::setUp

File

./units_ui.test, line 31
Tests for Units UI module.

Class

UnitsUIWebTestCase
@file Tests for Units UI module.

Code

public function setUp($modules = array()) {
  $modules[] = 'units_ui';
  parent::setUp($modules);
  $this->admin = $this
    ->drupalCreateUser(array(
    'administer measures',
    'administer units',
  ));
}