summaryrefslogtreecommitdiff
path: root/modules/gallery/tests/Gallery_Rest_Helper_Test.php
AgeCommit message (Collapse)Author
2010-01-02Clean up gallery_rest helper testTim Almdal
2010-01-02Correct unexpected error in gallery_rest_put_album_no_path_testTim Almdal
2010-01-02Correct file structure tests, Have the tests delete the userid they create ↵Tim Almdal
so as not to impact other tests.
2009-12-31Create helper functions to create a test user, an album or image. Don't ↵Tim Almdal
create the test objects in the setup, but do it in each test.
2009-12-301) Remove the rest::not_found method and replace it with "throw new ↵Tim Almdal
Kohana_404_Exception 2) Don't use the input path to lookup the item via relative_path_cache. Instead use url::get_item_from_uri method.
2009-12-27Clean up validation the check for duplicate names or slugs, finish ↵Tim Almdal
converting the rest API to Kohana 2.4
2009-12-24Update the gallery_rest handlers test to pass the path in as an array in the ↵Tim Almdal
request arguments property instead of the path property.
2009-12-23Updated the unit tests to match the current APITim Almdal
Corrected a problem identified with the unit tests... failed if the path was empty on PUT.
2009-12-15Updates the the interface based on actually using it.Tim Almdal
2009-12-09Add the REST delete processing for albums/photos/moviesTim Almdal
2009-12-09Implement the RESTful interface for albums/photos/moviesTim Almdal
2009-12-09Use the relative url cache to look up resources instead of the relative ↵Tim Almdal
path. This allows us to forego the extension as part of the REST url. As well, urls are consistent between normal usage and rest usage.
2009-12-08Correct the error message when the item is not found; remove the check for ↵Tim Almdal
no request_key (access_token) as athat is treated as public permissions
2009-12-08Add another error handler "not found" to the rest API.Tim Almdal
Implement the get_album rest request handler.