EntityPropertyConflict.php in GraphQL 8.3
File
modules/graphql_core/tests/src/Kernel/Entity/EntityPropertyConflict.php
View source
<?php
namespace Drupal\Tests\graphql_core\Kernel\Entity;
use Drupal\Tests\graphql_core\Kernel\GraphQLContentTestBase;
class EntityPropertyConflict extends GraphQLContentTestBase {
public static $modules = [
'comment',
];
public function testNamingConflict() {
$this
->assertGraphQLFields([
[
'Comment',
'entityId',
'String',
],
[
'Comment',
'entityIdOfComment',
'FieldCommentEntityId',
],
]);
}
}