public function FieldResolverTest::testResolveInternalEntityQueryPath in JSON:API 8
Same name and namespace in other branches
- 8.2 tests/src/Kernel/Context/FieldResolverTest.php \Drupal\Tests\jsonapi\Kernel\Context\FieldResolverTest::testResolveInternalEntityQueryPath()
@covers ::resolveInternalEntityQueryPath @dataProvider resolveInternalEntityQueryPathProvider
File
- tests/
src/ Kernel/ Context/ FieldResolverTest.php, line 154
Class
- FieldResolverTest
- @coversDefaultClass \Drupal\jsonapi\Context\FieldResolver @group jsonapi @group legacy
Namespace
Drupal\Tests\jsonapi\Kernel\ContextCode
public function testResolveInternalEntityQueryPath($expect, $external_path, $entity_type_id = 'entity_test_with_bundle', $bundle = 'bundle1') {
$this
->assertEquals($expect, $this->sut
->resolveInternalEntityQueryPath($entity_type_id, $bundle, $external_path));
}