public function ConvertTest::setUp in Flysystem 8
Same name and namespace in other branches
- 3.x tests/src/Unit/Logger/ConvertTest.php \Drupal\Tests\flysystem\Unit\Logger\ConvertTest::setUp()
- 2.0.x tests/src/Unit/Logger/ConvertTest.php \Drupal\Tests\flysystem\Unit\Logger\ConvertTest::setUp()
- 3.0.x tests/src/Unit/Logger/ConvertTest.php \Drupal\Tests\flysystem\Unit\Logger\ConvertTest::setUp()
Overrides UnitTestCase::setUp
File
- tests/
src/ Unit/ Logger/ ConvertTest.php, line 18
Class
- ConvertTest
- @coversDefaultClass \Drupal\flysystem\Logger\Convert @group flysystem
Namespace
Drupal\Tests\flysystem\Unit\LoggerCode
public function setUp() {
$consts = [
'REQUIREMENT_INFO' => -1,
'REQUIREMENT_OK' => 0,
'REQUIREMENT_WARNING' => 1,
'REQUIREMENT_ERROR' => 2,
];
foreach ($consts as $const => $value) {
if (!defined($const)) {
define($const, $value);
}
}
}