1
0
mirror of https://github.com/Kovah/LinkAce.git synced 2025-01-29 19:07:48 +01:00

Correct the HTML Meta helper test

This commit is contained in:
Kovah 2020-05-05 23:55:57 +02:00
parent 1e663d2b3a
commit ba54ec52a9
No known key found for this signature in database
GPG Key ID: AAAA031BA9830D7B

View File

@ -129,7 +129,7 @@ class HtmlMetaHelperTest extends TestCase
);
});
$result = HtmlMeta::getFromUrl($url);
$result = HtmlMeta::getFromUrl($url, true);
$this->assertArrayHasKey('title', $result);
$this->assertEquals('self-signed.badssl.com', $result['title']);
@ -159,7 +159,7 @@ class HtmlMetaHelperTest extends TestCase
);
});
$result = HtmlMeta::getFromUrl($url);
$result = HtmlMeta::getFromUrl($url, true);
$this->assertArrayHasKey('title', $result);
$this->assertEquals('192.168.0.123', $result['title']);