Skip to content

Commit 7a311d6

Browse files
committed
fixed tests
1 parent 723fc4c commit 7a311d6

File tree

4 files changed

+8
-9
lines changed

4 files changed

+8
-9
lines changed

tests/BambuserTest.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ class BambuserTest extends AbstractTestCase
77
public function testOne()
88
{
99
$this->assertEmbed(
10-
'http://bambuser.com/v/4740575',
10+
'https://bambuser.com/v/7088053',
1111
[
12-
'title' => '#OccupyWestminster #SaveILF #London #olsx #ONN',
13-
'description' => 'Broadcast by dancole on Bambuser.com',
12+
'title' => 'EASY LISTENING',
13+
'description' => 'Broadcast by WRNU on Bambuser.com',
1414
'type' => 'video',
15-
'code' => '<object id="bplayer" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="320" height="240"><embed allowfullscreen="true" allowscriptaccess="always" wmode="transparent" type="application/x-shockwave-flash" name="bplayer" src="https://static.bambuser.com/r/player.swf?context=oembed&amp;vid=4740575" width="320" height="240" /><param name="movie" value="https://static.bambuser.com/r/player.swf?context=oembed&amp;vid=4740575" /><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="wmode" value="transparent" /></object>',
15+
'code' => '<object id="bplayer" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="320" height="240"><embed allowfullscreen="true" allowscriptaccess="always" wmode="transparent" type="application/x-shockwave-flash" name="bplayer" src="https://static.bambuser.com/r/player.swf?context=oembed&amp;vid=7088053" width="320" height="240" /><param name="movie" value="https://static.bambuser.com/r/player.swf?context=oembed&amp;vid=7088053" /><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="wmode" value="transparent" /></object>',
1616
'width' => 320,
1717
'height' => 240,
18-
'authorName' => 'dancole',
18+
'authorName' => 'WRNU',
1919
'providerName' => 'Bambuser.com',
2020
]
2121
);

tests/MeetUpTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ public function testOne()
1010
'https://www.meetup.com/SetPay-Talks/events/219650150/',
1111
[
1212
'title' => 'Docker, from zero to hero with Carlos Sánchez',
13-
'description' => "1/13, 6:00 PM: Inauguramos las charlas de SetPay con uno de los temas más de moda en 2014, Docker.Docker es una herramienta para que desarrolladores y administradores de sistemas construyan, despliegu",
13+
'description' => "Tue, Jan 13, 2015, 6:00 PM: Inauguramos las charlas de SetPay con uno de los temas más de moda en 2014, Docker.Docker es una herramienta para que desarrolladores y administradores de sistemas construy",
1414
'imageWidth' => 2400,
1515
'imageHeight' => 1260,
1616
'type' => 'rich',

tests/SpotifyTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ public function testPlay()
1111
[
1212
'title' => 'A Cantar con Xabarin (Vol. I & II)',
1313
'type' => 'rich',
14-
'code' => '<iframe src="https://open.spotify.com/embed/album/7s66wU1XJ2NsUuWM2NKiUV" width="300" height="380" frameborder="0" allowtransparency="true"></iframe>',
14+
'code' => '<iframe src="https://open.spotify.com/embed/album/7s66wU1XJ2NsUuWM2NKiUV" width="300" height="380" frameborder="0" allowtransparency="true" allow="encrypted-media"></iframe>',
1515
'providerName' => 'Spotify',
1616
'providerUrl' => 'https://www.spotify.com',
1717
]
@@ -25,7 +25,7 @@ public function testOpen()
2525
[
2626
'title' => 'A Cantar con Xabarin (Vol. I & II)',
2727
'type' => 'rich',
28-
'code' => '<iframe src="https://open.spotify.com/embed/album/7s66wU1XJ2NsUuWM2NKiUV" width="300" height="380" frameborder="0" allowtransparency="true"></iframe>',
28+
'code' => '<iframe src="https://open.spotify.com/embed/album/7s66wU1XJ2NsUuWM2NKiUV" width="300" height="380" frameborder="0" allowtransparency="true" allow="encrypted-media"></iframe>',
2929
'providerName' => 'Spotify',
3030
'providerUrl' => 'https://www.spotify.com',
3131
]

tests/UstreamTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ public function testOne()
1414
'imageHeight' => 90,
1515
'type' => 'video',
1616
'authorName' => 'redsh0es',
17-
'providerName' => 'Ustream',
1817
'providerUrl' => 'http://www.ustream.tv/',
1918
]
2019
);

0 commit comments

Comments
 (0)