summaryrefslogtreecommitdiff
path: root/modules/gallery/tests/Photos_Controller_Test.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-10-19 12:53:44 -0700
committerTim Almdal <tnalmdal@shaw.ca>2009-10-19 12:53:44 -0700
commit098b57bf18112d0a3173dbe28b5ed76782431ff7 (patch)
tree597410ea09aa91de7ac3dde2a5cc7b182c2aa35b /modules/gallery/tests/Photos_Controller_Test.php
parent1b530e4680b09391d7f99e91f1b0b1eb6b2069fc (diff)
Simplify the user interface by moving the password reset functionality into the user module
Bagging the User_Definition and Group_Definition abstract classes and replacing them with interfaces with the same names. Make sure all the unit tests work.
Diffstat (limited to 'modules/gallery/tests/Photos_Controller_Test.php')
-rw-r--r--modules/gallery/tests/Photos_Controller_Test.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/tests/Photos_Controller_Test.php b/modules/gallery/tests/Photos_Controller_Test.php
index cdb4ae4f..59c3f78a 100644
--- a/modules/gallery/tests/Photos_Controller_Test.php
+++ b/modules/gallery/tests/Photos_Controller_Test.php
@@ -31,7 +31,7 @@ class Photos_Controller_Test extends Unit_Test_Case {
$root = ORM::factory("item", 1);
$photo = photo::create(
$root, MODPATH . "gallery/tests/test.jpg", "test.jpeg",
- "test", "test", Session::active_user(), "slug");
+ "test", "test", Session::active_user()->id, "slug");
$orig_name = $photo->name;
$_POST["filename"] = "test.jpeg";