Exemplo n.º 1
0
 /**
  * test thumbnail cleanup
  */
 public function testCleanupThumbnails()
 {
     $this->model->cleanupThumbnails();
     $this->assertTrue(file_exists(Zend_Registry::get('config')->thumbnails->path . "thumb1.jpg"));
     $this->assertFalse(file_exists(Zend_Registry::get('config')->thumbnails->path . "thumb2.jpg"));
 }