function InstallTasksTest::setUp

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

Overrides UnitTestCase::setUp

File

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

Class

InstallTasksTest
Tests the MySQL install tasks.

Namespace

Drupal\Tests\mysql\Unit

Code

protected function setUp() : void {
    parent::setUp();
    $this->connection = $this->prophesize(Connection::class);
}

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