Skip to content

Commit b3e5c54

Browse files
author
Jehannes Stellingwerf
committed
Refactor tests; expected data updated to current response of relevant websites.
1 parent 53b37c8 commit b3e5c54

File tree

2 files changed

+6
-11
lines changed

2 files changed

+6
-11
lines changed

tests/AbancaTest.php

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,14 @@ public function testOne()
1313
(object) [
1414
'@context' => 'http://schema.org',
1515
'@type' => 'Organization',
16-
'name' => 'ABANCA',
16+
'name' => '',
1717
'url' => '//www.abanca.com',
1818
'logo' => '//www.abanca.com/img/logo-social.jpg',
19-
'sameAs' => [
20-
'https://www.facebook.com/SomosABANCA',
21-
'https://twitter.com/somosABANCA',
22-
'https://www.youtube.com/user/somosABANCAtv',
23-
'https://www.flickr.com/photos/125188945@N05/',
24-
],
19+
'sameAs' => [],
2520
'contactPoint' => [
2621
(object) [
2722
'@type' => 'ContactPoint',
28-
'telephone' => '+34-981 910 522',
23+
'telephone' => '-',
2924
'contactType' => 'customer service',
3025
],
3126
],

tests/DevianArtTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ public function testOne()
1010
'http://www.deviantart.com/art/Misty-510056679',
1111
[
1212
'title' => 'Misty',
13-
'description' => 'Face Book llOnline Store ll Tumblr ll Help support me on Patreon and get special perks<3llArtstation I used to watch pokemon when I was younger, and it was  the one...',
13+
'description' => '',
1414
'imageWidth' => 695,
1515
'imageHeight' => 900,
1616
'type' => 'link',
@@ -24,11 +24,11 @@ public function testTwo()
2424
'http://pachunka.deviantart.com/art/Cope-145564099',
2525
[
2626
'title' => 'Cope',
27-
'description' => '$randomduck for president, 2012. There may or may not be some irony surrounding this image.',
27+
'description' => '',
2828
'imageWidth' => 448,
2929
'imageHeight' => 672,
3030
'type' => 'link',
31-
'authorName' => 'Pachunka',
31+
'authorName' => 'pachunka',
3232
]
3333
);
3434
}

0 commit comments

Comments
 (0)