function InstallTasksTest::testNameWithNoConnection

Same name in other branches
  1. 10 core/modules/mysql/tests/src/Unit/InstallTasksTest.php \Drupal\Tests\mysql\Unit\InstallTasksTest::testNameWithNoConnection()
  2. 11.x core/modules/mysql/tests/src/Unit/InstallTasksTest.php \Drupal\Tests\mysql\Unit\InstallTasksTest::testNameWithNoConnection()

@covers ::name

File

core/modules/mysql/tests/src/Unit/InstallTasksTest.php, line 129

Class

InstallTasksTest
Tests the MySQL install tasks.

Namespace

Drupal\Tests\mysql\Unit

Code

public function testNameWithNoConnection() {
    $tasks = $this->createTasksNoConnection();
    $this->assertSame('MySQL, MariaDB, Percona Server, or equivalent', $tasks->name());
}

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