public function ShareThisBlockAdminTest::testAccessAdminPage in Sharethis block 8
Tests that a user with the correct permissions can access the admin page.
Throws
File
- tests/
src/ Functional/ ShareThisBlockAdminTest.php, line 61
Class
- ShareThisBlockAdminTest
- Class SettingsPageTest
Namespace
Drupal\Tests\sharethis_block\FunctionalCode
public function testAccessAdminPage() {
$this
->drupalGet('/admin/config/user-interface/sharethis');
$this
->assertSession()
->statusCodeEquals(200);
}