Skip to content

Commit

Permalink
Add access token to test.
Browse files Browse the repository at this point in the history
  • Loading branch information
ruebot committed Aug 25, 2023
1 parent 45da96b commit e524024
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/src/Kernel/IIIFManifestParserTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

use Drupal\Core\Utility\Token;
use Drupal\Core\Routing\RouteMatchInterface;
use Drupal\jwt\JsonWebToken\JsonWebToken;
use Drupal\KernelTests\KernelTestBase;
use Drupal\node\Entity\Node;
use Drupal\openseadragon\IIIFManifestParser;
Expand Down Expand Up @@ -211,8 +210,7 @@ public function testGetTileSourcesWithTokens() {
$logger
);

// Generate an access token.
$access_token = new JsonWebToken();
$access_token = 'islandora';

$tile_sources = $parser->getTileSources('http://example.org/node/[node:nid]/manifest', $access_token);
$expected = [
Expand Down

0 comments on commit e524024

Please sign in to comment.