function ConfigEntityStorageTest::testDeleteNothing
Same name and namespace in other branches
- 11.x core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityStorageTest.php \Drupal\Tests\Core\Config\Entity\ConfigEntityStorageTest::testDeleteNothing()
- 10 core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityStorageTest.php \Drupal\Tests\Core\Config\Entity\ConfigEntityStorageTest::testDeleteNothing()
- 9 core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityStorageTest.php \Drupal\Tests\Core\Config\Entity\ConfigEntityStorageTest::testDeleteNothing()
- 8.9.x core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityStorageTest.php \Drupal\Tests\Core\Config\Entity\ConfigEntityStorageTest::testDeleteNothing()
Tests delete nothing.
@legacy-covers ::delete @legacy-covers ::doDelete
File
-
core/
tests/ Drupal/ Tests/ Core/ Config/ Entity/ ConfigEntityStorageTest.php, line 721
Class
Namespace
Drupal\Tests\Core\Config\EntityCode
public function testDeleteNothing() : void {
$this->moduleHandler
->invokeAll(Argument::cetera())
->shouldNotBeCalled();
$this->configFactory
->get(Argument::cetera())
->shouldNotBeCalled();
$this->configFactory
->getEditable(Argument::cetera())
->shouldNotBeCalled();
$this->cacheTagsInvalidator
->invalidateTags(Argument::cetera())
->shouldNotBeCalled();
$this->entityStorage
->delete([]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.