core/modules/rest/src/Tests/NodeResourceTestBase.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/modules/rest/src/Tests/NodeResourceTestBase.php b/core/modules/rest/src/Tests/NodeResourceTestBase.php index 7851140..e900509 100644 --- a/core/modules/rest/src/Tests/NodeResourceTestBase.php +++ b/core/modules/rest/src/Tests/NodeResourceTestBase.php @@ -118,7 +118,7 @@ protected function getExpectedNormalizedEntity() { 'target_id' => '0', 'target_type' => 'user', 'target_uuid' => $author->uuid(), - 'url' => '/user/0', + 'url' => base_path() . 'user/0', ], ], 'revision_uid' => [ @@ -126,7 +126,7 @@ protected function getExpectedNormalizedEntity() { 'target_id' => '0', 'target_type' => 'user', 'target_uuid' => $author->uuid(), - 'url' => $this->baseUrl . '/user/0', + 'url' => base_path() . 'user/0', ], ], 'revision_log' => [