projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website]
/
web
/
core
/
modules
/
hal
/
tests
/
src
/
Kernel
/
FileNormalizeTest.php
diff --git
a/web/core/modules/hal/tests/src/Kernel/FileNormalizeTest.php
b/web/core/modules/hal/tests/src/Kernel/FileNormalizeTest.php
index c4b67f54e345b2237cbab1f44b6b815c16909f3b..355c09d1a67e7c523cd766123149689ed1465c89 100644
(file)
--- a/
web/core/modules/hal/tests/src/Kernel/FileNormalizeTest.php
+++ b/
web/core/modules/hal/tests/src/Kernel/FileNormalizeTest.php
@@
-44,7
+44,10
@@
class FileNormalizeTest extends NormalizerTestBase {
$expected_array = [
'uri' => [
- ['value' => file_create_url($file->getFileUri())],
+ [
+ 'value' => $file->getFileUri(),
+ 'url' => file_url_transform_relative(file_create_url($file->getFileUri())),
+ ],
],
];