File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed
Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -15,4 +15,17 @@ public function testOne()
1515 $ this ->assertEquals ($ info ->providerName , 'SoundCloud ' );
1616 $ this ->assertEquals ($ info ->providerUrl , 'http://soundcloud.com ' );
1717 }
18+
19+ public function testMobile ()
20+ {
21+ $ info = Embed \Embed::create ('https://m.soundcloud.com/zedsdead/zeds-dead-twin-shadow-lost-you-feat-dangelo-lacy ' );
22+
23+ $ this ->assertEquals ($ info ->title , "Zeds Dead - Lost You (feat. Twin Shadow & D'Angelo Lacy) " );
24+ $ this ->assertEquals ($ info ->type , 'rich ' );
25+ $ this ->assertEquals ($ info ->code , '<iframe width="100%" height="400" scrolling="no" frameborder="no" src="https://w.soundcloud.com/player/?visual=true&url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F150745932&show_artwork=true"></iframe> ' );
26+ $ this ->assertEquals ($ info ->authorName , 'Zeds Dead ' );
27+ $ this ->assertEquals ($ info ->authorUrl , 'http://soundcloud.com/zedsdead ' );
28+ $ this ->assertEquals ($ info ->providerName , 'SoundCloud ' );
29+ $ this ->assertEquals ($ info ->providerUrl , 'http://soundcloud.com ' );
30+ }
1831}
You can’t perform that action at this time.
0 commit comments