function InstallTasksTest::providerNameAndMinimumVersion
Same name in other branches
- 9 core/modules/mysql/tests/src/Unit/InstallTasksTest.php \Drupal\Tests\mysql\Unit\InstallTasksTest::providerNameAndMinimumVersion()
- 11.x core/modules/mysql/tests/src/Unit/InstallTasksTest.php \Drupal\Tests\mysql\Unit\InstallTasksTest::providerNameAndMinimumVersion()
Provides test data.
Return value
array
File
-
core/
modules/ mysql/ tests/ src/ Unit/ InstallTasksTest.php, line 115
Class
- InstallTasksTest
- Tests the MySQL install tasks.
Namespace
Drupal\Tests\mysql\UnitCode
public static function providerNameAndMinimumVersion() : array {
return [
[
TRUE,
'MariaDB',
Tasks::MARIADB_MINIMUM_VERSION,
],
[
FALSE,
'MySQL, Percona Server, or equivalent',
Tasks::MYSQL_MINIMUM_VERSION,
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.