You are here

class CacheSavingTest in MongoDB 7

Cache saving test: Check our variables are saved and restored the right way.

@package Drupal\mongodb_cache

@group MongoDB: Cache

Hierarchy

Expanded class hierarchy of CacheSavingTest

File

mongodb_cache/src/Tests/CacheSavingTest.php, line 12

Namespace

Drupal\mongodb_cache\Tests
View source
class CacheSavingTest extends \CacheSavingCase {
  use CacheTestTrait;

  /**
   * {@inheritdoc}
   */
  public function setUp() {
    drupal_flush_all_caches();
    parent::setUp();
  }

  /**
   * {@inheritdoc}
   */
  public function tearDown() {
    drupal_flush_all_caches();
    parent::tearDown();
  }

}

Members

Namesort descending Modifiers Type Description Overrides
CacheSavingTest::setUp public function
CacheSavingTest::tearDown public function
CacheTestTrait::getInfo public static function Declare the test to Simpletest.