mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-29 05:26:13 +00:00
fixup! Add direct download link feature with new button implementation
This commit is contained in:
parent
82e2b9a0f6
commit
9d722110a6
@ -139,7 +139,7 @@ class StoredObjectNormalizerTest extends TestCase
|
||||
$actual = $normalizer->normalize($storedObject, 'json', ['groups' => ['read', 'read:download-link-only']]);
|
||||
|
||||
self::assertIsArray($actual);
|
||||
self::arrayHasKey('_links', $actual);
|
||||
self::assertArrayHasKey('_links', $actual);
|
||||
self::assertArrayHasKey('downloadLink', $actual['_links']);
|
||||
self::assertEquals(['sub' => 'sub'], $actual['_links']['downloadLink']);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user