public function PrintBasicTest::setUp in Printer, email and PDF versions 7.2
Same name and namespace in other branches
- 5.4 tests/print_basic.test \PrintBasicTest::setUp()
- 5.3 tests/print_basic.test \PrintBasicTest::setUp()
- 6 tests/print_basic.test \PrintBasicTest::setUp()
- 7 tests/print_basic.test \PrintBasicTest::setUp()
- 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'];
}