Skip to content

Commit f038db4

Browse files
committed
added a test for #145
1 parent 6c26acf commit f038db4

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

tests/HookemTest.php

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?php
2+
3+
/**
4+
* @link https://github.com/oscarotero/Embed/issues/145
5+
*/
6+
class HookemTest extends TestCaseBase
7+
{
8+
public function testOne()
9+
{
10+
$this->assertEmbed(
11+
'http://www.hookem.com/story/texas-shortstop-joe-baker-arrested-public-intoxication/',
12+
[
13+
'title' => 'Texas shortstop Joe Baker was arrested for public intoxication',
14+
'image' => 'http://www.hookem.com/wp-content/uploads/2016/04/SSS-TexasBaseball-12.jpg',
15+
]
16+
);
17+
}
18+
}

0 commit comments

Comments
 (0)