summaryrefslogtreecommitdiff
path: root/modules/gallery/tests/Albums_Controller_Test.php
AgeCommit message (Collapse)Author
2012-02-27Update copyright to 2012. #1822Bharat Mediratta
2011-04-25Move random::string() to be test::random_string() and have it return aBharat Mediratta
random string of any length. Also introduce test::lorem_ipsum() and use that in places where we want strings of words. Fixes #1713.
2011-01-21Update copyright to 2011.Bharat Mediratta
2010-12-15Consolidate all the random code into a random helper that offers:Bharat Mediratta
random::hash() random::string() random::percent() random::int() So that we don't have lots of different ways to get random values all over the code. Follow-on to #1527.
2010-12-15Use mt_rand() instead of rand() since it provides better portability.Bharat Mediratta
Fixes #1527.
2010-03-03Update the copyright to 2010. It's only 3 months into the year :-)Bharat Mediratta
2010-01-19Extend Gallery_Unit_Test_Case instead of Unit_Test_Case.Bharat Mediratta
2010-01-19Change "dirname" to "name" in the edit album form. I'd rather haveBharat Mediratta
consistency between field names than deal with underlying issues with Forge bitching about the "name" property.
2010-01-18Updated for model based validation.Bharat Mediratta
change_album_no_csrf_fails_test() had been broken since we got rid of REST_Controller, but was poorly written so we didn't realize it. Boo.
2010-01-02Fix two issues with change_album_test()Bharat Mediratta
1) We do support changing the name. 2) Choose a random name to avoid conflicts.
2010-01-02Update the expected response after modifying an album to match theBharat Mediratta
change I made in 20bd09ff004816ae152a2f890a24dc5e85741fac
2009-12-06Remove the hidden form variable _method which was used in the no longer rest ↵Tim Almdal
controllers.
2009-11-25Refactor the album, movie and photo handling to remove the REST_Controller. ↵Tim Almdal
Partial fix for ticket #917
2009-11-15Save/restore $_SERVER before/after tests to avoid contamination.Bharat Mediratta
Fix albums/photos tests to make sure we're really getting the HTTP_REFERER back.
2009-10-23Merge branch 'master' into talmdal_devTim Almdal
Conflicts: modules/gallery/tests/Albums_Controller_Test.php modules/user/helpers/user.php
2009-10-23Initialize the slug field when doing the update testsTim Almdal
2009-10-22Change the name of identity library from Identity to IdentityProvider. ↵Tim Almdal
Create a helper class called identity to simplify call the Identity Provider. Move the contents of MY_Session.php to the new helper class and remove the MY_Session class
2009-10-19Simplify the user interface by moving the password reset functionality into ↵Tim Almdal
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.
2009-10-16Start simplifying the interface by moving the static methods from user.php ↵Tim Almdal
and group.php. Tried creating a identity helper, but the helper identity.php was confused with the library Identity.php. So got around this by making the methods on Identity static and calling the instance within the static methods. Also temporarily moved the user.php and group.php back into the user module.
2009-09-03fix the expected return value of album controllerTim Almdal
2009-06-02Improve test isolation so that Albums_Controller_Test doesn't fail when run ↵Tim Almdal
with Photos_Controller_Test
2009-05-27Restructure things so that the application is now just another module.Bharat Mediratta
Kohana makes this type of transition fairly straightforward in that all controllers/helpers/etc are still located in the cascading filesystem without any extra effort, except that I've temporarily added a hack to force modules/gallery into the module path. Rename what's left of "core" to be "application" so that it conforms more closely to the Kohana standard (basically, just application/config/config.php which is the minimal thing that you need in the application directory) There's still considerable work left to be done here.