Skip to content

Commit 7dc18c9

Browse files
committed
tested posts from facebook pages #147
1 parent f0eee06 commit 7dc18c9

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

tests/FacebookTest.php

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
class FacebookTest extends TestCaseBase
44
{
5-
public function testOne()
5+
public function testPermalink()
66
{
77
$this->assertEmbed(
88
'https://www.facebook.co/permalink.php?story_fbid=827163017327807&id=149460691764713',
@@ -14,4 +14,17 @@ public function testOne()
1414
]
1515
);
1616
}
17+
18+
public function testCompanyPage()
19+
{
20+
$this->assertEmbed(
21+
'https://www.facebook.com/TheIndependentOnline/posts/10153659888571636',
22+
[
23+
'title' => 'The Independent - Best. News. Ever. | Facebook',
24+
'width' => 552,
25+
'code' => true,
26+
'type' => 'rich',
27+
]
28+
);
29+
}
1730
}

0 commit comments

Comments
 (0)