Exemplo n.º 1
0
 /**
  * create a random asset image with no properties set
  * @return Asset
  */
 protected function createRandomAssetVideo()
 {
     $asset = Asset_Video::create(1, array("filename" => uniqid() . rand(10, 99) . ".wmv", "data" => file_get_contents(TESTS_PATH . "/resources/assets/video/recyclebin.wmv"), "userOwner" => 1));
     return $asset;
 }