Skip to content

Commit 90a6fd4

Browse files
authored
Merge pull request #168 from zerolab/fix-tests
Fix tests
2 parents bec359e + ed3cf65 commit 90a6fd4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/TedTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ public function testOne()
1111
'description' => "Wolves were once native to the US' Yellowstone National Park -- until hunting wiped them out. But when, in 1995, the wolves began to come back (thanks to an aggressive management program), something interesting happened: the rest of the park began to find a new, more healthful balance. In a bold thought experiment, George Monbiot imagines a wilder world in which humans work to restore the complex, lost natural food chains that once surrounded us.",
1212
'imageWidth' => 240,
1313
'imageHeight' => 180,
14-
'code' => '<iframe src="https://embed-ssl.ted.com/talks/george_monbiot_for_more_wonder_rewild_the_world.html" width="560" height="315" frameborder="0" scrolling="no" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>',
14+
'code' => '<iframe src="https://embed.ted.com/talks/george_monbiot_for_more_wonder_rewild_the_world" width="560" height="315" frameborder="0" scrolling="no" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>',
1515
'type' => 'video',
1616
'authorName' => 'George Monbiot',
1717
'authorUrl' => 'http://www.ted.com/speakers/george_monbiot',

tests/TwitterTest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ public function testNormal()
77
$this->assertEmbed(
88
'https://twitter.com/pepephone/status/436461658601713664',
99
[
10-
'code' => '<blockquote class="twitter-tweet"><p lang="es" dir="ltr">RT <a href="https://twitter.com/PabloHerreros">@PabloHerreros</a> Pepephone rompe la baraja - <a href="http://t.co/mFn7mcB1vy">http://t.co/mFn7mcB1vy</a></p>&mdash; pepephone (@pepephone) <a href="https://twitter.com/pepephone/status/436461658601713664">February 20, 2014</a></blockquote> <script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script>',
10+
'code' => '<blockquote class="twitter-tweet"><p lang="es" dir="ltr">RT <a href="https://twitter.com/PabloHerreros">@PabloHerreros</a> Pepephone rompe la baraja - <a href="http://t.co/mFn7mcB1vy">http://t.co/mFn7mcB1vy</a></p>&mdash; Pepephone (@pepephone) <a href="https://twitter.com/pepephone/status/436461658601713664">February 20, 2014</a></blockquote> <script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script>',
1111
]
1212
);
1313
}
@@ -17,7 +17,7 @@ public function testOmitScript()
1717
$this->assertEmbed(
1818
'https://twitter.com/pepephone/status/436461658601713664',
1919
[
20-
'code' => '<blockquote class="twitter-tweet"><p lang="es" dir="ltr">RT <a href="https://twitter.com/PabloHerreros">@PabloHerreros</a> Pepephone rompe la baraja - <a href="http://t.co/mFn7mcB1vy">http://t.co/mFn7mcB1vy</a></p>&mdash; pepephone (@pepephone) <a href="https://twitter.com/pepephone/status/436461658601713664">February 20, 2014</a></blockquote>'."\n",
20+
'code' => '<blockquote class="twitter-tweet"><p lang="es" dir="ltr">RT <a href="https://twitter.com/PabloHerreros">@PabloHerreros</a> Pepephone rompe la baraja - <a href="http://t.co/mFn7mcB1vy">http://t.co/mFn7mcB1vy</a></p>&mdash; Pepephone (@pepephone) <a href="https://twitter.com/pepephone/status/436461658601713664">February 20, 2014</a></blockquote>'."\n",
2121
], [
2222
'providers' => [
2323
'oembed' => [

0 commit comments

Comments
 (0)