function InstallTasksTest::providerNameAndMinimumVersion

Same name in other branches
  1. 10 core/modules/mysql/tests/src/Unit/InstallTasksTest.php \Drupal\Tests\mysql\Unit\InstallTasksTest::providerNameAndMinimumVersion()
  2. 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 111

Class

InstallTasksTest
Tests the MySQL install tasks.

Namespace

Drupal\Tests\mysql\Unit

Code

public 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.