You are here

public function TasksTest::providerNameAndMinimumVersion in Drupal 10

Same name and namespace in other branches
  1. 9 core/tests/Drupal/Tests/Core/Database/Driver/mysql/install/TasksTest.php \Drupal\Tests\Core\Database\Driver\mysql\install\TasksTest::providerNameAndMinimumVersion()

Provides test data.

Return value

array

File

core/tests/Drupal/Tests/Core/Database/Driver/mysql/install/TasksTest.php, line 111

Class

TasksTest
Tests the MySQL install tasks.

Namespace

Drupal\Tests\Core\Database\Driver\mysql\install

Code

public function providerNameAndMinimumVersion() : array {
  return [
    [
      TRUE,
      'MariaDB',
      Tasks::MARIADB_MINIMUM_VERSION,
    ],
    [
      FALSE,
      'MySQL, Percona Server, or equivalent',
      Tasks::MYSQL_MINIMUM_VERSION,
    ],
  ];
}