Loading modules/paragraphs_library/tests/src/Functional/ParagraphsLibraryItemTest.php +1 −1 Original line number Diff line number Diff line Loading @@ -34,7 +34,7 @@ class ParagraphsLibraryItemTest extends BrowserTestBase { /** * {@inheritdoc} */ protected $defaultTheme = 'classy'; protected $defaultTheme = 'starterkit_theme'; /** * {@inheritdoc} Loading modules/paragraphs_library/tests/src/Functional/ParagraphsLibraryTest.php +3 −3 Original line number Diff line number Diff line Loading @@ -35,8 +35,8 @@ class ParagraphsLibraryTest extends ParagraphsTestBase { */ public function testLibraryItems() { // Set default theme. \Drupal::service('theme_installer')->install(['bartik']); $this->config('system.theme')->set('default', 'bartik')->save(); \Drupal::service('theme_installer')->install(['claro']); $this->config('system.theme')->set('default', 'claro')->save(); $this->loginAsAdmin(['create paragraphed_test content', 'edit any paragraphed_test content', 'administer paragraphs library']); // Add a Paragraph type with a text field. Loading @@ -54,7 +54,7 @@ class ParagraphsLibraryTest extends ParagraphsTestBase { ]; $this->submitForm($edit, 'Save'); $this->clickLink('re usable paragraph label'); $this->assertSession()->responseContains('bartik/css/base/elements.css'); $this->assertSession()->responseContains('claro/css/base/elements.css'); $this->clickLink('Edit'); $this->assertSession()->responseNotContains('class="messages messages--warning"'); $items = \Drupal::entityQuery('paragraphs_library_item') Loading modules/paragraphs_library/tests/src/FunctionalJavascript/ParagraphsContentModerationTest.php +1 −1 Original line number Diff line number Diff line Loading @@ -55,7 +55,7 @@ class ParagraphsContentModerationTest extends WebDriverTestBase { /** * {@inheritdoc} */ protected $defaultTheme = 'classy'; protected $defaultTheme = 'starterkit_theme'; /** * {@inheritdoc} Loading modules/paragraphs_library/tests/src/FunctionalJavascript/ParagraphsLibraryItemEntityBrowserTest.php +1 −1 Original line number Diff line number Diff line Loading @@ -36,7 +36,7 @@ class ParagraphsLibraryItemEntityBrowserTest extends EntityBrowserWebDriverTestB /** * {@inheritdoc} */ protected $defaultTheme = 'classy'; protected $defaultTheme = 'starterkit_theme'; /** * Tests a flow of adding/removing references with paragraphs. Loading tests/src/Functional/Migrate/MigrateUiParagraphsTest.php +0 −6 Original line number Diff line number Diff line Loading @@ -21,12 +21,6 @@ class MigrateUiParagraphsTest extends MigrateUiParagraphsTestBase { * @dataProvider providerParagraphsMigrate */ public function testParagraphsMigrate($node_migrate_type_classic) { // Drupal 8.8.x only has 'classic' node migrations. // @see https://www.drupal.org/node/3105503 if (!$node_migrate_type_classic && version_compare(\Drupal::VERSION, '8.9', '<')) { $this->pass("Drupal 8.8.x has only the 'classic' node migration."); return; } $this->setClassicNodeMigration($node_migrate_type_classic); $this->assertMigrateUpgradeViaUi(); $this->assertParagraphsMigrationResults(); Loading Loading
modules/paragraphs_library/tests/src/Functional/ParagraphsLibraryItemTest.php +1 −1 Original line number Diff line number Diff line Loading @@ -34,7 +34,7 @@ class ParagraphsLibraryItemTest extends BrowserTestBase { /** * {@inheritdoc} */ protected $defaultTheme = 'classy'; protected $defaultTheme = 'starterkit_theme'; /** * {@inheritdoc} Loading
modules/paragraphs_library/tests/src/Functional/ParagraphsLibraryTest.php +3 −3 Original line number Diff line number Diff line Loading @@ -35,8 +35,8 @@ class ParagraphsLibraryTest extends ParagraphsTestBase { */ public function testLibraryItems() { // Set default theme. \Drupal::service('theme_installer')->install(['bartik']); $this->config('system.theme')->set('default', 'bartik')->save(); \Drupal::service('theme_installer')->install(['claro']); $this->config('system.theme')->set('default', 'claro')->save(); $this->loginAsAdmin(['create paragraphed_test content', 'edit any paragraphed_test content', 'administer paragraphs library']); // Add a Paragraph type with a text field. Loading @@ -54,7 +54,7 @@ class ParagraphsLibraryTest extends ParagraphsTestBase { ]; $this->submitForm($edit, 'Save'); $this->clickLink('re usable paragraph label'); $this->assertSession()->responseContains('bartik/css/base/elements.css'); $this->assertSession()->responseContains('claro/css/base/elements.css'); $this->clickLink('Edit'); $this->assertSession()->responseNotContains('class="messages messages--warning"'); $items = \Drupal::entityQuery('paragraphs_library_item') Loading
modules/paragraphs_library/tests/src/FunctionalJavascript/ParagraphsContentModerationTest.php +1 −1 Original line number Diff line number Diff line Loading @@ -55,7 +55,7 @@ class ParagraphsContentModerationTest extends WebDriverTestBase { /** * {@inheritdoc} */ protected $defaultTheme = 'classy'; protected $defaultTheme = 'starterkit_theme'; /** * {@inheritdoc} Loading
modules/paragraphs_library/tests/src/FunctionalJavascript/ParagraphsLibraryItemEntityBrowserTest.php +1 −1 Original line number Diff line number Diff line Loading @@ -36,7 +36,7 @@ class ParagraphsLibraryItemEntityBrowserTest extends EntityBrowserWebDriverTestB /** * {@inheritdoc} */ protected $defaultTheme = 'classy'; protected $defaultTheme = 'starterkit_theme'; /** * Tests a flow of adding/removing references with paragraphs. Loading
tests/src/Functional/Migrate/MigrateUiParagraphsTest.php +0 −6 Original line number Diff line number Diff line Loading @@ -21,12 +21,6 @@ class MigrateUiParagraphsTest extends MigrateUiParagraphsTestBase { * @dataProvider providerParagraphsMigrate */ public function testParagraphsMigrate($node_migrate_type_classic) { // Drupal 8.8.x only has 'classic' node migrations. // @see https://www.drupal.org/node/3105503 if (!$node_migrate_type_classic && version_compare(\Drupal::VERSION, '8.9', '<')) { $this->pass("Drupal 8.8.x has only the 'classic' node migration."); return; } $this->setClassicNodeMigration($node_migrate_type_classic); $this->assertMigrateUpgradeViaUi(); $this->assertParagraphsMigrationResults(); Loading