diff options
author | ArthurHoaro <arthur@hoa.ro> | 2020-12-29 11:44:10 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-29 11:44:10 +0100 |
commit | fe58bdcd9e0ddca8a2a99142dc9eaee8845efa67 (patch) | |
tree | 01ab39a60959866294926f35ac1500ee1e436c79 /tests/http | |
parent | 8ed5fbef8f2a5e666f80be0c38930b92672d351a (diff) | |
parent | 6a3a78d023aa320138bb88505b58347db268264a (diff) | |
download | Shaarli-fe58bdcd9e0ddca8a2a99142dc9eaee8845efa67.tar.gz Shaarli-fe58bdcd9e0ddca8a2a99142dc9eaee8845efa67.tar.zst Shaarli-fe58bdcd9e0ddca8a2a99142dc9eaee8845efa67.zip |
Merge pull request #1664 from ArthurHoaro/fix/metadata-sync
Fix: synchronous metadata retrieval is failing in strict mode
Diffstat (limited to 'tests/http')
-rw-r--r-- | tests/http/MetadataRetrieverTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/http/MetadataRetrieverTest.php b/tests/http/MetadataRetrieverTest.php index 3c9eaa0e..cae65091 100644 --- a/tests/http/MetadataRetrieverTest.php +++ b/tests/http/MetadataRetrieverTest.php | |||
@@ -41,7 +41,7 @@ class MetadataRetrieverTest extends TestCase | |||
41 | $remoteCharset = 'utf-8'; | 41 | $remoteCharset = 'utf-8'; |
42 | 42 | ||
43 | $expectedResult = [ | 43 | $expectedResult = [ |
44 | 'title' => $remoteTitle, | 44 | 'title' => trim($remoteTitle), |
45 | 'description' => $remoteDesc, | 45 | 'description' => $remoteDesc, |
46 | 'tags' => $remoteTags, | 46 | 'tags' => $remoteTags, |
47 | ]; | 47 | ]; |