mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-07-11 17:53:50 -04:00
Refactor the album, movie and photo handling to remove the REST_Controller. Partial fix for ticket #917
This commit is contained in:
@@ -44,7 +44,8 @@ class Photos_Controller_Test extends Unit_Test_Case {
|
||||
access::allow(identity::everybody(), "edit", $root);
|
||||
|
||||
ob_start();
|
||||
$controller->_update($photo);
|
||||
$controller->update($photo->id);
|
||||
$photo->reload();
|
||||
$results = ob_get_contents();
|
||||
ob_end_clean();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user