summaryrefslogtreecommitdiff
path: root/core/tests/Photos_Controller_Test.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-01-29 03:22:02 +0000
committerBharat Mediratta <bharat@menalto.com>2009-01-29 03:22:02 +0000
commit894a33d744ede7ec9977133e632279ed55976f4f (patch)
tree10807ac32660ea499881fd1476c8d2cf696bd1c5 /core/tests/Photos_Controller_Test.php
parentad82721c3b164438d01ecc28350d8168894512a8 (diff)
Add support for pretty urls. So now instead of urls like:
http://example.com/gallery3/index.php/albums/2 http://example.com/gallery3/index.php/photos/9 You'll see urls like: http://example.com/gallery3/index.php/Family/Weddings http://example.com/gallery3/index.php/Family/Weddings/Bob.jpg
Diffstat (limited to 'core/tests/Photos_Controller_Test.php')
-rw-r--r--core/tests/Photos_Controller_Test.php2
1 files changed, 1 insertions, 1 deletions
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);