function ConfigEntityStorageTest::testDeleteRevision

Same name in other branches
  1. 8.9.x core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityStorageTest.php \Drupal\Tests\Core\Config\Entity\ConfigEntityStorageTest::testDeleteRevision()
  2. 10 core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityStorageTest.php \Drupal\Tests\Core\Config\Entity\ConfigEntityStorageTest::testDeleteRevision()

@covers ::deleteRevision

File

core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityStorageTest.php, line 640

Class

ConfigEntityStorageTest
@coversDefaultClass \Drupal\Core\Config\Entity\ConfigEntityStorage @group Config

Namespace

Drupal\Tests\Core\Config\Entity

Code

public function testDeleteRevision() {
    $this->cacheTagsInvalidator
        ->invalidateTags(Argument::cetera())
        ->shouldNotBeCalled();
    $this->assertSame(NULL, $this->entityStorage
        ->deleteRevision(1));
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.