function test_fetch() { $files = array('tmp_name' => array('original' => LIMB_DIR . '/tests/images/1.jpg', 'thumbnail' => LIMB_DIR . '/tests/images/2.jpg', 'icon' => ''), 'name' => array('original' => 'original_name.jpg', 'thumbnail' => 'thumbnail_name.jpg', 'icon' => ''), 'type' => array('original' => 'image/jpeg', 'thumbnail' => 'image/jpeg', 'icon' => '')); $this->object->set_attribute('files_data', $files); $this->object->set_attribute('original_action', 'upload'); $this->object->set_attribute('thumbnail_action', 'upload'); $this->object->set_attribute('icon_action', 'generate'); $this->object->set_attribute('upload_thumbnail_max_size', 100); $this->object->set_attribute('icon_base_variation', 'thumbnail'); $this->object->set_attribute('generate_icon_max_size', 50); parent::test_fetch(); }
function test_fetch() { $this->_set_object_initial_attributes(); parent::test_fetch(); }
function test_fetch() { $this->_set_file_create_attributes(); parent::test_fetch(); }