You are here

public function TestDatabaseTest::providerTestConstructor in Drupal 10

Same name and namespace in other branches
  1. 8 core/tests/Drupal/Tests/Core/Test/TestDatabaseTest.php \Drupal\Tests\Core\Test\TestDatabaseTest::providerTestConstructor()
  2. 9 core/tests/Drupal/Tests/Core/Test/TestDatabaseTest.php \Drupal\Tests\Core\Test\TestDatabaseTest::providerTestConstructor()

Data provider for self::testConstructor()

File

core/tests/Drupal/Tests/Core/Test/TestDatabaseTest.php, line 42

Class

TestDatabaseTest
@coversDefaultClass \Drupal\Core\Test\TestDatabase

Namespace

Drupal\Tests\Core\Test

Code

public function providerTestConstructor() {
  return [
    [
      'test1234',
      'test1234',
      'sites/simpletest/1234',
    ],
    [
      'test123456test234567',
      'test123456test234567',
      'sites/simpletest/234567',
    ],
  ];
}