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:
parent
1e663d2b3a
commit
ba54ec52a9
@ -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']);
|
||||
|
Loading…
x
Reference in New Issue
Block a user