Skip to content
Permalink
Browse files

fixed more tests

  • Loading branch information...
oscarotero committed Jun 23, 2019
1 parent 3d4cdfb commit bec605e5b51dfa5f760d25d2969d7d8ec55bccb6
Showing with 8 additions and 8 deletions.
  1. +3 −3 tests/ChirbitTest.php
  2. +1 −1 tests/FileTest.php
  3. +1 −1 tests/IdeoneTest.php
  4. +3 −3 tests/ImagesBlacklistTest.php
@@ -9,11 +9,11 @@ public function testOne()
$this->assertEmbed(
'http://chirb.it/7A9L9B',
[
'title' => 'Chirbit [nvanderklippe] Encana conference call',
'width' => 320,
'title' => 'Encana conference call',
'width' => 380,
'height' => 120,
'type' => 'video',
'providerName' => 'Chirbit',
'providerName' => 'chirbit',
]
);
}
@@ -34,7 +34,7 @@ public function testOgg()
'https://ia801006.us.archive.org/34/items/popeye_349/popeye.ogv',
[
'type' => 'video',
'code' => '<video controls><source src="https://ia801006.us.archive.org/16/items/popeye_349/popeye.ogv"></video>',
'code' => '<video controls><source src="https://ia800901.us.archive.org/16/items/popeye_349/popeye.ogv"></video>',
'providerUrl' => 'https://archive.org',
]
);
@@ -7,7 +7,7 @@ class IdeoneTest extends AbstractTestCase
public function testOne()
{
$this->assertEmbed(
'http://ideone.com/Whjntg',
'https://ideone.com/Whjntg',
[
'title' => 'Ideone.com',
'type' => 'rich',
@@ -9,7 +9,7 @@ public function testPlainText()
$this->assertEmbed(
'https://alistapart.com/article/the-rich-typefaces-get-richer',
[
'image' => 'https://alistapart.com/d/misc-images/bigwreath.png',
'image' => 'https://alistapart.com/wp-content/uploads/2019/03/cropped-icon_navigation-laurel-512.jpg',
],
[
'images_blacklist' => [
@@ -24,7 +24,7 @@ public function testPlainUrlMatch()
$this->assertEmbed(
'https://alistapart.com/article/the-rich-typefaces-get-richer',
[
'image' => 'https://alistapart.com/d/misc-images/bigwreath.png',
'image' => 'https://alistapart.com/wp-content/uploads/2019/03/cropped-icon_navigation-laurel-512.jpg',
],
[
'images_blacklist' => [
@@ -39,7 +39,7 @@ public function testAuthorizedImage()
$this->assertEmbed(
'https://alistapart.com/article/the-rich-typefaces-get-richer',
[
'image' => 'https://alistapart.com/d/misc-images/bigwreath.png',
'image' => 'https://alistapart.com/wp-content/uploads/2019/03/cropped-icon_navigation-laurel-512.jpg',
],
[
'images_blacklist' => [

0 comments on commit bec605e

Please sign in to comment.
You can’t perform that action at this time.