public function PrivateMessageSettingsFormTest::testSettingsPageExists in Private Message 8.2
Tests that the settings page can be reached.
File
- tests/
src/ Functional/ PrivateMessageSettingsFormTest.php, line 54
Class
- PrivateMessageSettingsFormTest
- Tests for the Lorem Ipsum module.
Namespace
Drupal\Tests\private_message\FunctionalCode
public function testSettingsPageExists() {
$this
->drupalLogin($this->user);
$this
->drupalGet('admin/config/private-message/config');
$this
->assertResponse(403);
$this
->drupalLogin($this->adminUser);
$this
->drupalGet('admin/config/private-message/config');
$this
->assertResponse(200);
}