53
53
$this->drupalGet('node');
54
54
$this->assertTrue($this->drupalGetHeader('Date'), t('An HTTP header was received.'));
56
56
$this->assertNoTitle('Foo', t('Site title does not match.'));
57
57
// Make sure that we are locked out of the installer when prefixing
58
58
// using the user-agent header. This is an important security check.
61
61
$this->drupalGet($base_url . '/install.php', array('external' => TRUE));
62
63
$this->assertResponse(403, 'Cannot access install.php with a "simpletest" user-agent header.');
64
65
$this->drupalLogin($this->drupalCreateUser());