Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
shweshi authored and StyleCIBot committed Jun 2, 2020
1 parent d21a915 commit ee8ca95
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions tests/OpenGraphTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ public function testFetchAllMetadata()
{
$opengraph = new OpenGraph();
$data = $opengraph->fetch(
'https://www.ogp.me/', true
'https://www.ogp.me/',
true
);
$this->assertArrayHasKey('title', $data);
$this->assertArrayHasKey('description', $data);
Expand All @@ -41,7 +42,7 @@ public function testFetchReturnsEmptyArrayForWebsiteWithNoMetadata()
{
$opengraph = new OpenGraph();
$data = $opengraph->fetch(
'https://www.example.com/'
'https://www.example.com/'
);

$this->assertEmpty($data);
Expand All @@ -52,7 +53,8 @@ public function testFetchMustacheMetasData()
{
$opengraph = new OpenGraph();
$data = $opengraph->fetch(
'https://raw.githubusercontent.com/jurgenbosch/OpenGraph/master/tests/__mocks__/angular-headers.html', true
'https://raw.githubusercontent.com/jurgenbosch/OpenGraph/master/tests/__mocks__/angular-headers.html',
true
);
$this->assertArrayHasKey('title', $data);
$this->assertArrayHasKey('description', $data);
Expand All @@ -65,7 +67,8 @@ public function testFetchNonAsciiImageUrlData()
{
$opengraph = new OpenGraph();
$data = $opengraph->fetch(
'https://unitedwithisrael.org/iranians-fall-in-love-with-israel-as-netanyahu-reaches-out-in-persian/', true
'https://unitedwithisrael.org/iranians-fall-in-love-with-israel-as-netanyahu-reaches-out-in-persian/',
true
);
$this->assertArrayHasKey('title', $data);
$this->assertArrayHasKey('description', $data);
Expand Down

0 comments on commit ee8ca95

Please sign in to comment.