protected function CollapsiblockJavaScriptTestBase::getCollapsiblockUnprivilegedUser in Collapsiblock 3.x
Same name and namespace in other branches
- 4.x tests/src/FunctionalJavascript/CollapsiblockJavaScriptTestBase.php \Drupal\Tests\collapsiblock\FunctionalJavascript\CollapsiblockJavaScriptTestBase::getCollapsiblockUnprivilegedUser()
Get the user with minimal permissions to test with.
Return value
\Drupal\user\UserInterface A user with minimal permissions to test with.
10 calls to CollapsiblockJavaScriptTestBase::getCollapsiblockUnprivilegedUser()
- CollapseActionTest::testCollapsibleAlwaysCollapsed in tests/
src/ FunctionalJavascript/ CollapseActionTest.php - Test the "Collapsible, collapsed all the time" Block Collapse Behavior.
- CollapseActionTest::testCollapsibleAlwaysExpanded in tests/
src/ FunctionalJavascript/ CollapseActionTest.php - Test the "Collapsible, expanded all the time" Block Collapse Behavior.
- CollapseActionTest::testCollapsibleDefaultCollapsed in tests/
src/ FunctionalJavascript/ CollapseActionTest.php - Test the "Collapsible, collapsed by default" Block Collapse Behavior.
- CollapseActionTest::testCollapsibleDefaultExpanded in tests/
src/ FunctionalJavascript/ CollapseActionTest.php - Test the "Collapsible, expanded by default" Block Collapse Behavior.
- CollapseActionTest::testNoAction in tests/
src/ FunctionalJavascript/ CollapseActionTest.php - Test the "None" Block Collapse Behavior makes no change.
File
- tests/
src/ FunctionalJavascript/ CollapsiblockJavaScriptTestBase.php, line 48
Class
- CollapsiblockJavaScriptTestBase
- Useful shortcuts for running Collapsiblock functional tests.
Namespace
Drupal\Tests\collapsiblock\FunctionalJavascriptCode
protected function getCollapsiblockUnprivilegedUser() {
return $this->collapsiblockUnprivilegedUser;
}