From 6f959deed90750d3f87f26e64fc44beb3f7ba903 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Wed, 3 Dec 2008 03:23:30 +0000 Subject: [PATCH] Rename generic test.php to gallery_unit_test.php to make navigation to this file a little easier --- index.php | 2 +- .../controllers/{test.php => gallery_unit_test.php} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename modules/gallery_unit_test/controllers/{test.php => gallery_unit_test.php} (98%) 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 similarity index 98% rename from modules/gallery_unit_test/controllers/test.php rename to 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();