Verified Commit 5e25bc8c authored by quietone's avatar quietone
Browse files

Issue #3490948 by rowrowrowrow, bbrala: Change hardcoded entity key 'uid' to...

Issue #3490948 by rowrowrowrow, bbrala: Change hardcoded entity key 'uid' to getKey in ResourceTestBase

(cherry picked from commit f75163ad)
parent ec3d2e1a
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2679,7 +2679,7 @@ protected function doTestSparseFieldSets(Url $url, array $request_options) {
      if (str_starts_with($type, 'nested')) {
        $this->grantPermissionsToTestedRole(['access user profiles']);
        $query['fields[user--user]'] = implode(',', $field_set);
        $query['include'] = 'uid';
        $query['include'] = $this->entity->getEntityType()->getKey('owner');
        $owner = $this->entity->getOwner();
        $owner_resource = static::toResourceIdentifier($owner);
        foreach ($field_set as $field_name) {