diff options
author | Bharat Mediratta <bharat@menalto.com> | 2008-11-05 07:13:46 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2008-11-05 07:13:46 +0000 |
commit | 581e931c439a726fbd6a0b0068debd2cd76e349d (patch) | |
tree | 904e121e5ebe6c4b53587bdc91723747fe6e3561 /core/tests/Core_Installer_Test.php | |
parent | 00513a71d2091eba3110164e506c2231972a1584 (diff) |
Change the default theme to actually render what's in the Gallery.
Currently only the album view works, albums have no thumbnails, and
there's only 1 image in use.
Improved Item_Model to have the following API methods
file_path() -- returns the path to the source image or album dir
thumbnail_path(), thumbnail_url() -- returns path/url to the thumbnail
resize_path(), resize_url() -- returns path/url to the resize
All tests updated.
Diffstat (limited to 'core/tests/Core_Installer_Test.php')
-rw-r--r-- | core/tests/Core_Installer_Test.php | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/core/tests/Core_Installer_Test.php b/core/tests/Core_Installer_Test.php index 4903805b..1cfd09cb 100644 --- a/core/tests/Core_Installer_Test.php +++ b/core/tests/Core_Installer_Test.php @@ -23,12 +23,9 @@ * test controller before it starts. */ class Core_Installer_Test extends Unit_Test_Case { - public function install_creates_albums_dir_test() { + public function install_creates_dirs_test() { $this->assert_true(file_exists(VARPATH . "albums")); - } - - public function install_creates_thumbnails_dir_test() { - $this->assert_true(file_exists(VARPATH . "thumbnails")); + $this->assert_true(file_exists(VARPATH . "resizes")); } public function install_registers_core_module_test() { |