Skip to content

Commit 956745a

Browse files
committed
added license test #125
1 parent f5d6172 commit 956745a

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

tests/FlickrTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ public function testSets()
1111
'imageHeight' => 680,
1212
'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>',
1313
'type' => 'rich',
14+
'license' => 'https://creativecommons.org/licenses/by-nc-nd/2.0/'
1415
]
1516
);
1617
}

tests/TestCaseBase.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ protected function assertEmbed($url, array $info, array $config = array())
4949
case 'providerName':
5050
case 'providerUrl':
5151
case 'providerIcon':
52+
case 'license':
5253
$this->assertString($value, $i->$name);
5354
break;
5455

0 commit comments

Comments
 (0)