From 3bb741f9d7b093ac67309ec82035eab50d73bb48 Mon Sep 17 00:00:00 2001 From: Eli Zoller Date: Mon, 23 Nov 2020 12:40:10 -0700 Subject: [PATCH] fix test --- tests/src/Functional/LinkHeaderTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/src/Functional/LinkHeaderTest.php b/tests/src/Functional/LinkHeaderTest.php index 2ec35ff5..1cd1e0a8 100644 --- a/tests/src/Functional/LinkHeaderTest.php +++ b/tests/src/Functional/LinkHeaderTest.php @@ -139,7 +139,7 @@ class LinkHeaderTest extends IslandoraFunctionalTestBase { $rest_url = Url::fromRoute('islandora.media_source_update', ['media' => $this->media->id()]) ->setAbsolute() ->toString(); - $media_url = $this->media->toUrl('canonical', ['absolute' => TRUE]); + $media_url = $this->media->toUrl('canonical', ['absolute' => TRUE])->toString(); // Perform a GET request as anonymous. $this->drupalGet($media_url, [], ['Cache-Control: no-cache']);