mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-08-17 12:24:58 -04:00
Follow-on to 94b26e506c - make the new legal_file
functions more robust when passed an unknown extension. Fixes Item_Model_Test.
This commit is contained in:
@@ -356,7 +356,7 @@ class Item_Model_Test extends Gallery_Unit_Test_Case {
|
||||
|
||||
public function movie_files_must_have_an_extension_test() {
|
||||
try {
|
||||
$movie = test::random_photo_unsaved();
|
||||
$movie = test::random_movie_unsaved();
|
||||
$movie->type = "movie";
|
||||
$movie->mime_type = "video/x-flv";
|
||||
$movie->name = "no_extension";
|
||||
|
||||
Reference in New Issue
Block a user