Verified Commit 356da9c0 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #3308915 by smustgrave, longwave: Fix test performance of...

Issue #3308915 by smustgrave, longwave: Fix test performance of Drupal\Tests\workspaces\Functional\WorkspacesUninstallTest

(cherry picked from commit 6e97216f)
parent 3a05ba49
Loading
Loading
Loading
Loading
+4 −6
Original line number Diff line number Diff line
@@ -3,6 +3,7 @@
namespace Drupal\Tests\workspaces\Functional;

use Drupal\Tests\BrowserTestBase;
use Drupal\Tests\node\Traits\ContentTypeCreationTrait;

/**
 * Tests uninstalling the Workspaces module.
@@ -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}
@@ -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();