public function AccessBlockBrowserTest::testIfNotShowSeven in Theme permission 8
Same name and namespace in other branches
- 2.0.x tests/src/Functional/AccessBlockBrowserTest.php \Drupal\Tests\theme_permission\Functional\AccessBlockBrowserTest::testIfNotShowSeven()
Check if block list don't contain seven url.
File
- tests/
src/ Functional/ AccessBlockBrowserTest.php, line 49
Class
- AccessBlockBrowserTest
- Administration theme access check.
Namespace
Drupal\Tests\theme_permission\FunctionalCode
public function testIfNotShowSeven() {
$this
->userLogin();
$this
->drupalGet("/admin/structure/block");
$this
->assertEmpty($this
->getSession()
->getPage()
->find('xpath', '//a[contains(@href, "/admin/structure/block/list/seven")]'));
}