public function NodeRevisionsAutocleanTest::testAdminConfigAnonymousAccess in Node Revisions Autoclean 8
Tests permissions anonymous.
File
- tests/
src/ Functional/ NodeRevisionsAutocleanTest.php, line 156
Class
- NodeRevisionsAutocleanTest
- Class NodeRevisionsAutocleanTest.
Namespace
Drupal\Tests\node_revisions_autoclean\FunctionalCode
public function testAdminConfigAnonymousAccess() {
$assert = $this
->assertSession();
$user = $this
->drupalCreateUser();
$this
->drupalLogin($user);
$this
->drupalGet('/admin/config/content/revisions-autoclean');
$assert
->statusCodeEquals(403);
}