Commit 78fbdef2 authored by catch's avatar catch
Browse files

Issue #2254189 by smustgrave, quietone, anya_m, andregp, sun, joachim: Fix...

Issue #2254189 by smustgrave, quietone, anya_m, andregp, sun, joachim: Fix test performance of Drupal\node\Tests\NodeTranslationUITest

(cherry picked from commit f0d3a7bf)
parent 47280fc8
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -51,6 +51,7 @@ protected function setUp(): void {
    $this->bundle = 'basic';
    $this->testLanguageSelector = FALSE;
    parent::setUp();
    $this->doSetup();

    $this->drupalPlaceBlock('page_title_block');
  }
+1 −0
Original line number Diff line number Diff line
@@ -71,6 +71,7 @@ protected function setUp(): void {
    $this->testLanguageSelector = FALSE;
    $this->subject = $this->randomMachineName();
    parent::setUp();
    $this->doSetup();
  }

  /**
+1 −0
Original line number Diff line number Diff line
@@ -48,6 +48,7 @@ protected function setUp(): void {
    // Use the entity_test_mul as this has multilingual property support.
    $this->entityTypeId = 'entity_test_mul_changed';
    parent::setUp();
    $this->doSetup();
  }

  /**
+8 −0
Original line number Diff line number Diff line
@@ -43,6 +43,14 @@ protected function setupBundle() {
    $this->createContentType(['type' => $this->bundle]);
  }

  /**
   * {@inheritdoc}
   */
  protected function setUp(): void {
    parent::setUp();
    $this->doSetup();
  }

  /**
   * Tests skipping setting non translatable metadata fields.
   */
+1 −0
Original line number Diff line number Diff line
@@ -33,6 +33,7 @@ class ContentTranslationNewTranslationWithExistingRevisionsTest extends ContentT
   */
  protected function setUp(): void {
    parent::setUp();
    $this->doSetup();
    $this->enableContentModeration();
  }

Loading