summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-09-22 12:21:14 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2014-09-22 12:21:14 +0200
commit785a085a5d7fbf502e9a2e9dce5c7bf899ca84fa (patch)
treeac1fb4352ad10c9d30a84166ab2cb664fdd97719 /tests
parent19910df42e93ef370048e8d0d2609af71bf46676 (diff)
better specify yt url
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/articleenhancer/GlobalArticleEnhancerTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/articleenhancer/GlobalArticleEnhancerTest.php b/tests/unit/articleenhancer/GlobalArticleEnhancerTest.php
index 4b0db31a1..93f9273ed 100644
--- a/tests/unit/articleenhancer/GlobalArticleEnhancerTest.php
+++ b/tests/unit/articleenhancer/GlobalArticleEnhancerTest.php
@@ -26,8 +26,8 @@ class GlobalArticleEnhancerTest extends \PHPUnit_Framework_TestCase {
public function testNoReplaceYoutubeAutoplay() {
- $body = '<iframe width="728" height="410" src="//www.youtube.com/embed/AWE6UpXQoGU?autoplay=0" frameborder="0" allowfullscreen=""></iframe>';
- $expected = '<iframe width="728" height="410" src="//www.youtube.com/embed/AWE6UpXQoGU?autoplay=0" frameborder="0" allowfullscreen=""></iframe>';
+ $body = '<iframe width="728" height="410" src="//www.youtube.com/embed/autoplay=1/AWE6UpXQoGU" frameborder="0" allowfullscreen=""></iframe>';
+ $expected = '<iframe width="728" height="410" src="//www.youtube.com/embed/autoplay=1/AWE6UpXQoGU" frameborder="0" allowfullscreen=""></iframe>';
$item = new Item();
$item->setBody($body);