function TestDatabaseTest::providerTestConstructor

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

Data provider for
@covers ::getDatabasePrefix
@covers ::getTestSitePath
@covers ::getPhpErrorLogPath
" class="local">self::testConstructor
()

File

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

Class

TestDatabaseTest
@coversDefaultClass \Drupal\Core\Test\TestDatabase[[api-linebreak]]

Namespace

Drupal\Tests\Core\Test

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.