function TestDatabaseTest::providerTestConstructor
Same name and namespace in other branches
- 9 core/tests/Drupal/Tests/Core/Test/TestDatabaseTest.php \Drupal\Tests\Core\Test\TestDatabaseTest::providerTestConstructor()
- 10 core/tests/Drupal/Tests/Core/Test/TestDatabaseTest.php \Drupal\Tests\Core\Test\TestDatabaseTest::providerTestConstructor()
- 11.x 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 <a href="/api/drupal/core%21lib%21Drupal%21Core%21Test%21TestDatabase.php/class/TestDatabase/8.9.x" title="Provides helper methods for interacting with the fixture database." class="local">\Drupal\Core\Test\TestDatabase</a>
Namespace
Drupal\Tests\Core\TestCode
public 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.