You are here

protected function SqliteProfilerStorageTest::setUp in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-kernel/Tests/Profiler/SqliteProfilerStorageTest.php \Symfony\Component\HttpKernel\Tests\Profiler\SqliteProfilerStorageTest::setUp()

File

vendor/symfony/http-kernel/Tests/Profiler/SqliteProfilerStorageTest.php, line 35

Class

SqliteProfilerStorageTest

Namespace

Symfony\Component\HttpKernel\Tests\Profiler

Code

protected function setUp() {
  if (!class_exists('SQLite3') && (!class_exists('PDO') || !in_array('sqlite', \PDO::getAvailableDrivers()))) {
    $this
      ->markTestSkipped('This test requires SQLite support in your environment');
  }
  self::$storage
    ->purge();
}