You are here

public function PrintBasicTest::setUp in Printer, email and PDF versions 7.2

Same name and namespace in other branches
  1. 5.4 tests/print_basic.test \PrintBasicTest::setUp()
  2. 5.3 tests/print_basic.test \PrintBasicTest::setUp()
  3. 6 tests/print_basic.test \PrintBasicTest::setUp()
  4. 7 tests/print_basic.test \PrintBasicTest::setUp()
  5. 5.x tests/print_basic.test \PrintBasicTest::setUp()

Implementation of setUp().

Overrides DrupalWebTestCase::setUp

File

tests/print_basic.test, line 33
Print module simpletest tests.

Class

PrintBasicTest
Class PrintBasicTest.

Code

public function setUp() {
  parent::setUp();

  // User to set up print.

  /*
      $this->webUser = $this->drupalCreateUserRolePerm(array('administer print'));

      $this->drupalGet('logout');
      $this->drupalLoginUser($this->webUser);
  */
  $this->getq = $_GET['q'];
  $_GET['q'] = 'print/' . $_GET['q'];
}