]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - tests/http/MetadataRetrieverTest.php
Fix: synchronous metadata retrieval is failing in strict mode
[github/shaarli/Shaarli.git] / tests / http / MetadataRetrieverTest.php
index 3c9eaa0e706a40803bee68a0a952028bd7c44e1c..cae65091f77c81c1bf01e837de3c20be8b4e245b 100644 (file)
@@ -41,7 +41,7 @@ class MetadataRetrieverTest extends TestCase
         $remoteCharset = 'utf-8';
 
         $expectedResult = [
-            'title' => $remoteTitle,
+            'title' => trim($remoteTitle),
             'description' => $remoteDesc,
             'tags' => $remoteTags,
         ];