mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-07-11 01:33:51 -04:00
Initialize the slug field when doing the update tests
This commit is contained in:
@@ -47,7 +47,7 @@ class Photos_Controller_Test extends Unit_Test_Case {
|
||||
$results = ob_get_contents();
|
||||
ob_end_clean();
|
||||
|
||||
$this->assert_equal(json_encode(array("result" => "success")), $results);
|
||||
$this->assert_equal(json_encode(array("result" => "success", "location" => "")), $results);
|
||||
$this->assert_equal("new-slug", $photo->slug);
|
||||
$this->assert_equal("new title", $photo->title);
|
||||
$this->assert_equal("new description", $photo->description);
|
||||
|
||||
Reference in New Issue
Block a user