You are here

protected function MongoDbProfilerStorageTest::setUp in Zircon Profile 8.0

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

File

vendor/symfony/http-kernel/Tests/Profiler/MongoDbProfilerStorageTest.php, line 157

Class

MongoDbProfilerStorageTest

Namespace

Symfony\Component\HttpKernel\Tests\Profiler

Code

protected function setUp() {
  if (self::$storage) {
    self::$storage
      ->purge();
  }
  else {
    $this
      ->markTestSkipped('MongoDbProfilerStorageTest requires the mongo PHP extension and a MongoDB server on localhost');
  }
}