function SqlContentEntityStorageTest::setUpModuleHandlerNoImplementations
Same name in other branches
- 8.9.x core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php \Drupal\Tests\Core\Entity\Sql\SqlContentEntityStorageTest::setUpModuleHandlerNoImplementations()
- 10 core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php \Drupal\Tests\Core\Entity\Sql\SqlContentEntityStorageTest::setUpModuleHandlerNoImplementations()
- 11.x core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php \Drupal\Tests\Core\Entity\Sql\SqlContentEntityStorageTest::setUpModuleHandlerNoImplementations()
Sets up the module handler with no implementations.
3 calls to SqlContentEntityStorageTest::setUpModuleHandlerNoImplementations()
- SqlContentEntityStorageTest::testLoadMultipleNoPersistentCache in core/
tests/ Drupal/ Tests/ Core/ Entity/ Sql/ SqlContentEntityStorageTest.php - @covers ::doLoadMultiple @covers ::buildCacheId @covers ::getFromPersistentCache @covers ::setPersistentCache
- SqlContentEntityStorageTest::testLoadMultiplePersistentCached in core/
tests/ Drupal/ Tests/ Core/ Entity/ Sql/ SqlContentEntityStorageTest.php - @covers ::doLoadMultiple @covers ::buildCacheId @covers ::getFromPersistentCache
- SqlContentEntityStorageTest::testLoadMultiplePersistentCacheMiss in core/
tests/ Drupal/ Tests/ Core/ Entity/ Sql/ SqlContentEntityStorageTest.php - @covers ::doLoadMultiple @covers ::buildCacheId @covers ::getFromPersistentCache @covers ::setPersistentCache
File
-
core/
tests/ Drupal/ Tests/ Core/ Entity/ Sql/ SqlContentEntityStorageTest.php, line 1449
Class
- SqlContentEntityStorageTest
- @coversDefaultClass \Drupal\Core\Entity\Sql\SqlContentEntityStorage @group Entity
Namespace
Drupal\Tests\Core\Entity\SqlCode
protected function setUpModuleHandlerNoImplementations() {
$this->moduleHandler
->expects($this->any())
->method('invokeAllWith')
->willReturnMap([
[
'entity_load',
[],
],
[
$this->entityTypeId . '_load',
[],
],
]);
$this->container
->set('module_handler', $this->moduleHandler);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.