summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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();