You are here

public function ShareThisBlockHelpTest::testAccessHelpPage in Sharethis block 8

Tests that a user with the correct permissions can access the help page.

Throws

ExpectationException

File

tests/src/Functional/ShareThisBlockHelpTest.php, line 63

Class

ShareThisBlockHelpTest
Class ShareThisBlockHelpTest

Namespace

Drupal\Tests\sharethis_block\Functional

Code

public function testAccessHelpPage() {
  $this
    ->drupalGet('/admin/help/sharethis_block');
  $this
    ->assertSession()
    ->statusCodeEquals(200);
}