Skip to content

Commit f951eb1

Browse files
committed
fixed some tests and oembed imgur
1 parent dc2f02e commit f951eb1

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

src/Providers/OEmbed/Imgur.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ class Imgur extends EndPoint implements EndPointInterface
88
'imgur.com/*',
99
'i.imgur.com/*',
1010
];
11-
protected static $endPoint = 'http://api.imgur.com/oembed';
11+
protected static $endPoint = 'https://api.imgur.com/oembed';
1212
}

tests/GoogleTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public function testPlus()
3434
$this->assertEmbed(
3535
'https://plus.google.com/u/0/+StephanHovnanian/posts/6apV9FHgo4k',
3636
[
37-
'title' => 'Stephan Hovnanian - Google+',
37+
'title' => '*Grow your business through email marketing* Learn more here: http://bit.ly/...',
3838
'type' => 'rich',
3939
'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>',
4040
'providerName' => 'Google Plus',

tests/HookemTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public function testOne()
1313
'http://www.hookem.com/story/texas-shortstop-joe-baker-arrested-public-intoxication/',
1414
[
1515
'title' => 'Texas shortstop Joe Baker was arrested for public intoxication',
16-
'image' => 'http://www.hookemplus.com/wp-content/uploads/2016/04/SSS-TexasBaseball-12.jpg',
16+
'image' => 'https://www.hookemplus.com/wp-content/uploads/2016/04/SSS-TexasBaseball-12.jpg',
1717
]
1818
);
1919
}

tests/IdeoneTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ public function testOne()
1212
'title' => 'Ideone.com',
1313
'type' => 'rich',
1414
'providerName' => 'Ideone.com',
15-
'providerUrl' => 'http://ideone.com',
16-
'code' => '<script src="http://ideone.com/e.js/Whjntg"></script>',
15+
'providerUrl' => 'https://ideone.com',
16+
'code' => '<script src="https://ideone.com/e.js/Whjntg"></script>',
1717
]
1818
);
1919
}

tests/WordPressTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public function testOne()
1212
'title' => 'Dave Ross: Optimize Image Files Like a Pro',
1313
'imageWidth' => 400,
1414
'imageHeight' => 224,
15-
'providerUrl' => 'https://wordpress.tv',
15+
'providerUrl' => 'httpss://wordpress.tv',
1616
]
1717
);
1818
}

0 commit comments

Comments
 (0)