summaryrefslogtreecommitdiff
path: root/modules/unit_test/controllers/unit_test.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/unit_test/controllers/unit_test.php')
-rw-r--r--modules/unit_test/controllers/unit_test.php22
1 files changed, 22 insertions, 0 deletions
diff --git a/modules/unit_test/controllers/unit_test.php b/modules/unit_test/controllers/unit_test.php
new file mode 100644
index 00000000..1c73e619
--- /dev/null
+++ b/modules/unit_test/controllers/unit_test.php
@@ -0,0 +1,22 @@
+<?php defined('SYSPATH') OR die('No direct access allowed.');
+/**
+ * Unit_Test controller.
+ *
+ * $Id$
+ *
+ * @package Unit_Test
+ * @author Kohana Team
+ * @copyright (c) 2007-2008 Kohana Team
+ * @license http://kohanaphp.com/license.html
+ */
+class Unit_test_Controller extends Controller {
+
+ const ALLOW_PRODUCTION = FALSE;
+
+ public function index()
+ {
+ // Run tests and show results!
+ echo new Unit_Test;
+ }
+
+} \ No newline at end of file