public function EntityQueryRelationshipTest::testInvalidSpecifier in Drupal 8
Same name and namespace in other branches
- 9 core/tests/Drupal/KernelTests/Core/Entity/EntityQueryRelationshipTest.php \Drupal\KernelTests\Core\Entity\EntityQueryRelationshipTest::testInvalidSpecifier()
- 10 core/tests/Drupal/KernelTests/Core/Entity/EntityQueryRelationshipTest.php \Drupal\KernelTests\Core\Entity\EntityQueryRelationshipTest::testInvalidSpecifier()
Tests the invalid specifier in the query relationship.
File
- core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityQueryRelationshipTest.php, line 197
Class
- EntityQueryRelationshipTest
- Tests the Entity Query relationship API.
Namespace
Drupal\KernelTests\Core\EntityCode
public function testInvalidSpecifier() {
$this
->expectException(PluginNotFoundException::class);
$this->container
->get('entity_type.manager')
->getStorage('taxonomy_term')
->getQuery()
->condition('langcode.language.foo', 'bar')
->execute();
}