mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-07-10 17:29:18 -04:00
fix the expected return value of photos controller
This commit is contained in:
@@ -50,8 +50,7 @@ class Photos_Controller_Test extends Unit_Test_Case {
|
||||
ob_end_clean();
|
||||
|
||||
$this->assert_equal(
|
||||
json_encode(array("result" => "success",
|
||||
"location" => "http://./index.php/test.jpeg")),
|
||||
json_encode(array("result" => "success")),
|
||||
$results);
|
||||
$this->assert_equal("new title", $this->_photo->title);
|
||||
$this->assert_equal("new description", $this->_photo->description);
|
||||
|
||||
Reference in New Issue
Block a user