Commit 2251697b authored by Kevin Paxman's avatar Kevin Paxman
Browse files

Merge branch 'feature/disable-permissions-test' into '8.x-3.x'

Disable running of UwWcmsBasicTest::permissionsTest()

See merge request !131
parents 7fc49f85 0dcbe5e7
......@@ -86,7 +86,10 @@ class UwWcmsBasicTest extends BrowserTestBase {
$this->menusTest();
$this->dashboardTest();
$this->ctaBlockTest();
$this->permissionsTest();
// Testing permissions is very time-consuming. So, normally do not run it.
// @code
// $this->permissionsTest();
// @endcode
$this->realnameTest();
$this->contactContentTypeTest();
$this->profileContentTypeTest();
......@@ -1357,7 +1360,7 @@ class UwWcmsBasicTest extends BrowserTestBase {
* Configure the role assign to allow assigning
* all roles except admin and site owner.
*/
private function permissionsTest() {
private function permissionsTest() {// phpcs:ignore
// Only administer can access permissions and roleassign pages.
$this->drupalLogin($this->drupalUsers['administrator']);
// Check admin/people/roleassign page.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment