mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 17:21:39 +09:00
Fix unit test for external media #2476
This commit is contained in:
parent
f5c1d095c9
commit
d7f2201905
1 changed files with 2 additions and 2 deletions
|
|
@ -166,8 +166,8 @@ class HTMLFilterTest extends \Codeception\Test\Unit
|
|||
$target = '<audio src=""></audio>';
|
||||
$this->assertEquals($target, Rhymix\Framework\Filters\HTMLFilter::clean($source));
|
||||
|
||||
$source = '<video width="320" height="240"><source src="http://api.v.daum.net/something" type="video/mp4" /></video>';
|
||||
$target = '<video width="320" height="240"><source src="http://api.v.daum.net/something" type="video/mp4" /></video>';
|
||||
$source = '<video width="320" height="240"><source src="http://player.vimeo.com/something" type="video/mp4" /></video>';
|
||||
$target = '<video width="320" height="240"><source src="http://player.vimeo.com/something" type="video/mp4" /></video>';
|
||||
$this->assertEquals($target, Rhymix\Framework\Filters\HTMLFilter::clean($source));
|
||||
|
||||
$source = '<video width="320" height="240"><source src="http://wrong-site.net/" type="video/mp4" /></video>';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue