Loading core/modules/forum/tests/src/Functional/ForumUninstallTest.php +3 −9 Original line number Diff line number Diff line Loading @@ -28,14 +28,6 @@ class ForumUninstallTest extends BrowserTestBase { */ protected static $modules = ['forum']; /** * {@inheritdoc} * * @todo Remove and fix test to not rely on super user. * @see https://www.drupal.org/project/drupal/issues/3437620 */ protected bool $usesSuperUserAccessPolicy = TRUE; /** * {@inheritdoc} */ Loading Loading @@ -177,7 +169,9 @@ public function testForumUninstallWithoutFieldStorage() { * Tests uninstallation of forum module when vocabulary is deleted. */ public function testForumUninstallWithoutForumVocabulary() { $this->drupalLogin($this->rootUser); $this->drupalLogin($this->drupalCreateUser([ 'administer modules', ])); Vocabulary::load('forums')->delete(); // Now attempt to uninstall forum. Loading Loading
core/modules/forum/tests/src/Functional/ForumUninstallTest.php +3 −9 Original line number Diff line number Diff line Loading @@ -28,14 +28,6 @@ class ForumUninstallTest extends BrowserTestBase { */ protected static $modules = ['forum']; /** * {@inheritdoc} * * @todo Remove and fix test to not rely on super user. * @see https://www.drupal.org/project/drupal/issues/3437620 */ protected bool $usesSuperUserAccessPolicy = TRUE; /** * {@inheritdoc} */ Loading Loading @@ -177,7 +169,9 @@ public function testForumUninstallWithoutFieldStorage() { * Tests uninstallation of forum module when vocabulary is deleted. */ public function testForumUninstallWithoutForumVocabulary() { $this->drupalLogin($this->rootUser); $this->drupalLogin($this->drupalCreateUser([ 'administer modules', ])); Vocabulary::load('forums')->delete(); // Now attempt to uninstall forum. Loading