summaryrefslogtreecommitdiff
path: root/core/tests
diff options
context:
space:
mode:
Diffstat (limited to 'core/tests')
-rw-r--r--core/tests/Albums_Controller_Test.php3
-rw-r--r--core/tests/Photos_Controller_Test.php2
2 files changed, 2 insertions, 3 deletions
diff --git a/core/tests/Albums_Controller_Test.php b/core/tests/Albums_Controller_Test.php
index 06360b79..57a5bf64 100644
--- a/core/tests/Albums_Controller_Test.php
+++ b/core/tests/Albums_Controller_Test.php
@@ -40,8 +40,7 @@ class Albums_Controller_Test extends Unit_Test_Case {
ob_end_clean();
$this->assert_equal(
- json_encode(array("result" => "success",
- "location" => "http://./index.php/albums/$album->id")),
+ json_encode(array("result" => "success", "location" => "http://./index.php/test")),
$results);
$this->assert_equal("new title", $album->title);
$this->assert_equal("new description", $album->description);
diff --git a/core/tests/Photos_Controller_Test.php b/core/tests/Photos_Controller_Test.php
index d48ae35e..2b28f774 100644
--- a/core/tests/Photos_Controller_Test.php
+++ b/core/tests/Photos_Controller_Test.php
@@ -41,7 +41,7 @@ class Photos_Controller_Test extends Unit_Test_Case {
$this->assert_equal(
json_encode(array("result" => "success",
- "location" => "http://./index.php/photos/$photo->id")),
+ "location" => "http://./index.php/test.jpeg")),
$results);
$this->assert_equal("new title", $photo->title);
$this->assert_equal("new description", $photo->description);