You are here

public function TourLegacyTest::providerTestTourTipMarkup in Drupal 9

Data Provider.

Return value

\string[][] An array with two potential items:

  • The different path the test will run on.
  • The active theme when running the tests.

File

core/modules/tour/tests/src/FunctionalJavascript/TourLegacyTest.php, line 134

Class

TourLegacyTest
Tests Tour's backwards compatible markup and legacy config.

Namespace

Drupal\Tests\tour\FunctionalJavascript

Code

public function providerTestTourTipMarkup() {
  return [
    'Using the the deprecated TipPlugin with Stable theme' => [
      'tour-test-legacy',
    ],
    'Using current TourTipPlugin with Stable theme' => [
      'tour-test-1',
    ],
    'Using the the deprecated TipPlugin with Stable 9 theme' => [
      'tour-test-legacy',
      'stable9',
    ],
    'Using current TourTipPlugin with Stable 9 theme' => [
      'tour-test-1',
      'stable9',
    ],
  ];
}