@@ -5,14 +5,14 @@ class ImagesBlacklistTest extends TestCaseBase
5
5
public function testPlainText ()
6
6
{
7
7
$ this ->assertEmbed (
8
- 'https ://github .com/oscarotero/Embed ' ,
8
+ 'http ://alistapart .com/article/the-rich-typefaces-get-richer ' ,
9
9
[
10
- 'image ' => 'https ://assets-cdn.github. com/images/spinners/octocat-spinner-32-EAF2F5.gif ' ,
10
+ 'image ' => 'http ://alistapart. com/d/_made/pix/authors/photos/shoaf-headshot_120_120_c1.jpg ' ,
11
11
], [
12
12
'adapter ' => [
13
13
'config ' => [
14
14
'imagesBlacklist ' => [
15
- 'https ://avatars1.githubusercontent. com/u/377873?v=3&s=400 ' ,
15
+ 'http ://alistapart. com/components/assets/img/ala-logo-big.png ' ,
16
16
],
17
17
],
18
18
],
@@ -23,14 +23,14 @@ public function testPlainText()
23
23
public function testPlainUrlMatch ()
24
24
{
25
25
$ this ->assertEmbed (
26
- 'https ://github .com/oscarotero/Embed ' ,
26
+ 'http ://alistapart .com/article/the-rich-typefaces-get-richer ' ,
27
27
[
28
- 'image ' => 'https ://assets-cdn.github. com/images/spinners/octocat-spinner-32-EAF2F5.gif ' ,
28
+ 'image ' => 'http ://alistapart. com/d/_made/pix/authors/photos/shoaf-headshot_120_120_c1.jpg ' ,
29
29
], [
30
30
'adapter ' => [
31
31
'config ' => [
32
32
'imagesBlacklist ' => [
33
- '*.githubusercontent.com * ' ,
33
+ '*-logo- * ' ,
34
34
],
35
35
],
36
36
],
@@ -41,14 +41,14 @@ public function testPlainUrlMatch()
41
41
public function testAuthorizedImage ()
42
42
{
43
43
$ this ->assertEmbed (
44
- 'https ://github .com/oscarotero/Embed ' ,
44
+ 'http ://alistapart .com/article/the-rich-typefaces-get-richer ' ,
45
45
[
46
- 'image ' => 'https ://avatars1.githubusercontent. com/u/377873?v=3&s=400 ' ,
46
+ 'image ' => 'http ://alistapart. com/components/assets/img/ala-logo-big.png ' ,
47
47
], [
48
48
'adapter ' => [
49
49
'config ' => [
50
50
'imagesBlacklist ' => [
51
- '*/octocat-spinner- * ' ,
51
+ '*/photos/ * ' ,
52
52
],
53
53
],
54
54
],
0 commit comments