You are here

public function ConfigEntityStorageTest::testDeleteRevision in Drupal 9

Same name and namespace in other branches
  1. 8 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 650

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));
}