Browse Source

fix test

d9_islandora
Eli Zoller 4 years ago
parent
commit
3bb741f9d7
  1. 2
      tests/src/Functional/LinkHeaderTest.php

2
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']);

Loading…
Cancel
Save