You are here

public function SystemRequirementsTest::testPhpVersionWithPdoDisallowMultipleStatements in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/system/tests/src/Unit/SystemRequirementsTest.php \Drupal\Tests\system\Unit\SystemRequirementsTest::testPhpVersionWithPdoDisallowMultipleStatements()

@dataProvider providerTestPhpVersionWithPdoDisallowMultipleStatements

File

core/modules/system/tests/src/Unit/SystemRequirementsTest.php, line 22
Contains \Drupal\Tests\system\Unit\SystemRequirementsTest.

Class

SystemRequirementsTest
@coversDefaultClass Drupal\system\SystemRequirements @group system

Namespace

Drupal\Tests\system\Unit

Code

public function testPhpVersionWithPdoDisallowMultipleStatements($version, $expected) {
  $this
    ->assertEquals($expected, SystemRequirements::phpVersionWithPdoDisallowMultipleStatements($version));
}