function EntityQueryServiceDeprecationTest::testFactoryOverriddenService

Tests getting the backend overridden service does not trigger deprecations.

File

core/modules/pgsql/tests/src/Kernel/EntityQueryServiceDeprecationTest.php, line 51

Class

EntityQueryServiceDeprecationTest
Tests the move of the 'pgsql.entity.query.sql' service.

Namespace

Drupal\Tests\pgsql\Kernel

Code

public function testFactoryOverriddenService() : void {
  $service = $this->container
    ->get('entity.query.sql');
  $this->assertInstanceOf(BaseQueryFactory::class, $service);
}

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