public function OgAdminRoutesControllerTest::testRoutesWithNoAccess in Organic groups 8
Tests overview with non-accessible routes.
@covers ::overview
File
- tests/src/ Unit/ OgAdminRoutesControllerTest.php, line 185 
Class
- OgAdminRoutesControllerTest
- Tests the OG admin routes overview route.
Namespace
Drupal\Tests\og\UnitCode
public function testRoutesWithNoAccess() {
  $result = $this
    ->getRenderElementResult(FALSE);
  $this
    ->assertEquals('You do not have any administrative items.', $result['#markup']);
}