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