function PrintBasicTest::setUp in Printer, email and PDF versions 5.x
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.2 tests/print_basic.test \PrintBasicTest::setUp()
- 7 tests/print_basic.test \PrintBasicTest::setUp()
Implementation of setUp().
File
- tests/
print_basic.test, line 30 - print module simpletest tests
Class
- PrintBasicTest
- @file print module simpletest tests
Code
function setUp() {
parent::setUp();
// User to set up print.
// $this->web_user = $this->drupalCreateUserRolePerm(array('administer print'));
// $this->drupalGet('logout');
// $this->drupalLoginUser($this->web_user);
$this->getq = $_GET['q'];
$_GET['q'] = 'print/' . $_GET['q'];
}