Exemple #1
0
 /**
  * @depends test_fetchFlickr
  * @depends test_createCollection
  */
 public function test_addToCollection($Image, $Collection)
 {
     $Collection->addImage($Image);
     $this->assertTrue($Collection->containsImage($Image));
     $Collection->addImage($Image);
     $Collection->removeImage($Image);
     $this->assertFalse($Collection->containsImage($Image));
     CollectionUtility::getCollectionsFeaturingImage($Image);
 }
Exemple #2
0
 /**
  * Make URLs
  * @since Version 3.9.1
  * @return void
  */
 private function makeURLs()
 {
     $this->url = new Url(CollectionUtility::createUrl($this->slug));
 }