Loading core/modules/workspaces/tests/src/Functional/WorkspacesUninstallTest.php +4 −6 Original line number Diff line number Diff line Loading @@ -3,6 +3,7 @@ namespace Drupal\Tests\workspaces\Functional; use Drupal\Tests\BrowserTestBase; use Drupal\Tests\node\Traits\ContentTypeCreationTrait; /** * Tests uninstalling the Workspaces module. Loading @@ -10,16 +11,12 @@ * @group workspaces */ class WorkspacesUninstallTest extends BrowserTestBase { use ContentTypeCreationTrait; /** * {@inheritdoc} */ protected $profile = 'standard'; /** * {@inheritdoc} */ protected static $modules = ['workspaces']; protected static $modules = ['workspaces', 'node']; /** * {@inheritdoc} Loading @@ -30,6 +27,7 @@ class WorkspacesUninstallTest extends BrowserTestBase { * Tests deleting workspace entities and uninstalling Workspaces module. */ public function testUninstallingWorkspace() { $this->createContentType(['type' => 'article']); $this->drupalLogin($this->rootUser); $this->drupalGet('/admin/modules/uninstall'); $session = $this->assertSession(); Loading Loading
core/modules/workspaces/tests/src/Functional/WorkspacesUninstallTest.php +4 −6 Original line number Diff line number Diff line Loading @@ -3,6 +3,7 @@ namespace Drupal\Tests\workspaces\Functional; use Drupal\Tests\BrowserTestBase; use Drupal\Tests\node\Traits\ContentTypeCreationTrait; /** * Tests uninstalling the Workspaces module. Loading @@ -10,16 +11,12 @@ * @group workspaces */ class WorkspacesUninstallTest extends BrowserTestBase { use ContentTypeCreationTrait; /** * {@inheritdoc} */ protected $profile = 'standard'; /** * {@inheritdoc} */ protected static $modules = ['workspaces']; protected static $modules = ['workspaces', 'node']; /** * {@inheritdoc} Loading @@ -30,6 +27,7 @@ class WorkspacesUninstallTest extends BrowserTestBase { * Tests deleting workspace entities and uninstalling Workspaces module. */ public function testUninstallingWorkspace() { $this->createContentType(['type' => 'article']); $this->drupalLogin($this->rootUser); $this->drupalGet('/admin/modules/uninstall'); $session = $this->assertSession(); Loading