Refactor the album, movie and photo handling to remove the REST_Controller. Partial fix for ticket #917

This commit is contained in:
Tim Almdal
2009-11-25 12:41:01 -08:00
parent 0bf81f0381
commit 2d5c232c42
10 changed files with 32 additions and 119 deletions

View File

@@ -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();