You are here

protected function StorageTestBase::cleanUp in Service Container 7

Same name and namespace in other branches
  1. 7.2 lib/Drupal/service_container/Tests/KeyValue/StorageTestBase.php \Drupal\service_container\Tests\KeyValue\StorageTestBase::cleanUp()
2 calls to StorageTestBase::cleanUp()
DatabaseStorageExpirableTest::testKeyValueStore in lib/Drupal/service_container/Tests/KeyValue/DatabaseStorageExpirableTest.php
StorageTestBase::testKeyValueStore in lib/Drupal/service_container/Tests/KeyValue/StorageTestBase.php

File

lib/Drupal/service_container/Tests/KeyValue/StorageTestBase.php, line 61
Contains Drupal\service_container\Tests\KeyValue\StorageTestBase.

Class

StorageTestBase
Base class for testing key-value storages.

Namespace

Drupal\service_container\Tests\KeyValue

Code

protected function cleanUp() {
  foreach ($this
    ->createStorage() as $storage) {
    $storage
      ->deleteAll();
  }
}