protected function CollapsiblockFunctionalTestBase::getCollapsiblockUnprivilegedUser in Collapsiblock 3.x
Same name and namespace in other branches
- 4.x tests/src/Functional/CollapsiblockFunctionalTestBase.php \Drupal\Tests\collapsiblock\Functional\CollapsiblockFunctionalTestBase::getCollapsiblockUnprivilegedUser()
Get an unprivileged user to check collapsiblock output.
Return value
\Drupal\user\UserInterface An unprivileged user to check collapsiblock output.
2 calls to CollapsiblockFunctionalTestBase::getCollapsiblockUnprivilegedUser()
- BlockInstanceTest::testBlockInstanceConfigOutput in tests/
src/ Functional/ BlockInstanceTest.php - Test that block instance configuration is output to pages.
- GlobalConfigurationTest::testGlobalConfigOutput in tests/
src/ Functional/ GlobalConfigurationTest.php - Test global configuration is output to pages.
File
- tests/
src/ Functional/ CollapsiblockFunctionalTestBase.php, line 48
Class
- CollapsiblockFunctionalTestBase
- Useful shortcuts for running Collapsiblock functional tests.
Namespace
Drupal\Tests\collapsiblock\FunctionalCode
protected function getCollapsiblockUnprivilegedUser() {
return $this->collapsiblockUnprivilegedUser;
}