fix the expected return value of photos controller

This commit is contained in:
Tim Almdal
2009-09-03 01:11:28 -07:00
parent 41e3773417
commit dcdd44109b

View File

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