Skip to content
Permalink
Browse files

fixed some tests

  • Loading branch information...
oscarotero committed Jun 23, 2019
1 parent 09550e9 commit 3d4cdfb66254569f960d8df0c42263c39c784679
Showing with 7 additions and 21 deletions.
  1. +2 −2 tests/AbancaTest.php
  2. +1 −1 tests/FileTest.php
  3. +1 −1 tests/FlickrTest.php
  4. +0 −13 tests/GoogleTest.php
  5. +2 −2 tests/TumblrTest.php
  6. +1 −2 tests/WikipediaTest.php
@@ -14,8 +14,8 @@ public function testOne()
'@context' => 'http://schema.org',
'@type' => 'Organization',
'name' => 'ABANCA',
'url' => 'https://www.abanca.com',
'logo' => 'https://www.abanca.com/img/logo-social.jpg',
'url' => '//www.abanca.com',
'logo' => '//www.abanca.com/img/logo-social.jpg',
'sameAs' => [
'https://www.facebook.com/SomosABANCA',
'https://twitter.com/somosABANCA',
@@ -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/34/items/popeye_349/popeye.ogv"></video>',
'code' => '<video controls><source src="https://ia801006.us.archive.org/16/items/popeye_349/popeye.ogv"></video>',
'providerUrl' => 'https://archive.org',
]
);
@@ -11,7 +11,7 @@ public function testSets()
[
'imageWidth' => 1024,
'imageHeight' => 680,
'code' => '<a data-flickr-embed="true" href="https://www.flickr.com/photos/desescribir/sets/72157650686499888" title="Günther Förg. Verfolgen Malerei / Fundación Luís Seoane by desescribir, on Flickr"><img src="https://farm9.staticflickr.com/8572/16055522574_ce77fde14e_b.jpg" width="1024" height="680" alt="Günther Förg. Verfolgen Malerei / Fundación Luís Seoane"></a><script async src="https://embedr.flickr.com/assets/client-code.js" charset="utf-8"></script>',
'code' => '<a data-flickr-embed="true" href="https://www.flickr.com/photos/desescribir/sets/72157650686499888" title="Günther Förg. Verfolgen Malerei / Fundación Luís Seoane by desescribir, on Flickr"><img src="https://live.staticflickr.com/8572/16055522574_ce77fde14e_b.jpg" width="1024" height="680" alt="Günther Förg. Verfolgen Malerei / Fundación Luís Seoane"></a><script async src="https://embedr.flickr.com/assets/client-code.js" charset="utf-8"></script>',
'type' => 'rich',
'license' => 'https://creativecommons.org/licenses/by-nc-nd/2.0/',
]
@@ -29,19 +29,6 @@ public function testDrive()
);
}
public function testPlus()
{
$this->assertEmbed(
'https://plus.google.com/u/0/+StephanHovnanian/posts/6apV9FHgo4k',
[
'title' => 'Grow your business through email marketing Learn more here: http://bit.ly/Yr...',
'type' => 'rich',
'code' => '<script src="https://apis.google.com/js/plusone.js" type="text/javascript"></script><div class="g-post" data-href="https://plus.google.com/+StephanHovnanian/posts/6apV9FHgo4k"></div>',
'providerName' => 'Google Plus',
]
);
}
public function testCalendar()
{
$this->assertEmbed(
@@ -9,9 +9,9 @@ public function testOne()
$this->assertEmbed(
'http://he-who-photographs-rather-ok.tumblr.com/post/165326273724',
[
'url' => 'http://he-who-photographs-rather-ok.tumblr.com/post/165326273724',
'url' => 'https://he-who-photographs-rather-ok.tumblr.com/post/165326273724',
'authorName' => 'He-who-photographs-rather-OK',
'authorUrl' => 'http://he-who-photographs-rather-ok.tumblr.com/',
'authorUrl' => 'https://he-who-photographs-rather-ok.tumblr.com/',
'type' => 'rich',
]
);
@@ -10,8 +10,7 @@ public function testOne()
'https://en.wikipedia.org/wiki/Albert_Einstein',
[
'title' => 'Albert Einstein',
'imageWidth' => 700,
'imageHeight' => 899,
'imageWidth' => 841,
'type' => 'link',
'providerName' => 'Wikipedia',
'providerUrl' => 'https://wikipedia.org',

0 comments on commit 3d4cdfb

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