summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2008-12-03 03:23:30 +0000
committerBharat Mediratta <bharat@menalto.com>2008-12-03 03:23:30 +0000
commit6f959deed90750d3f87f26e64fc44beb3f7ba903 (patch)
tree352ca4e697f9f2e753bf27a2790bb34231350088
parentdb5bc2050063cc9fb3830ec769bfbbc01e1f4198 (diff)
Rename generic test.php to gallery_unit_test.php to make navigation to this file a little easier
-rw-r--r--index.php2
-rw-r--r--modules/gallery_unit_test/controllers/gallery_unit_test.php (renamed from modules/gallery_unit_test/controllers/test.php)2
2 files changed, 2 insertions, 2 deletions
diff --git a/index.php b/index.php
index 96360bfe..44b00e67 100644
--- a/index.php
+++ b/index.php
@@ -47,7 +47,7 @@ define('SYSPATH', strtr(realpath('kohana') . '/', DIRECTORY_SEPARATOR, '/'));
// Force a test run if we're in command line mode.
if (PHP_SAPI == 'cli') {
- $_SERVER['argv'] = array($_SERVER['argv'][0], 'test');
+ $_SERVER['argv'] = array($_SERVER['argv'][0], 'gallery_unit_test');
define('TEST_MODE', 1);
@system('mkdir -p test/var/logs');
define('VARPATH', strtr(realpath('test/var') . '/', DIRECTORY_SEPARATOR, '/'));
diff --git a/modules/gallery_unit_test/controllers/test.php b/modules/gallery_unit_test/controllers/gallery_unit_test.php
index b5835556..2046e323 100644
--- a/modules/gallery_unit_test/controllers/test.php
+++ b/modules/gallery_unit_test/controllers/gallery_unit_test.php
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
*/
-class Test_Controller extends Controller {
+class Gallery_Unit_Test_Controller extends Controller {
function Index() {
if (!defined('TEST_MODE')) {
print Kohana::show_404();