summaryrefslogtreecommitdiffstats
path: root/application/controllers
diff options
context:
space:
mode:
Diffstat (limited to 'application/controllers')
-rw-r--r--application/controllers/tools.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/application/controllers/tools.php b/application/controllers/tools.php
index 7808b11cf..c3209e8f7 100644
--- a/application/controllers/tools.php
+++ b/application/controllers/tools.php
@@ -70,15 +70,13 @@ class Tools extends MY_Controller {
function test()
{
global $argv;
- $url = $argv[3];
- $testcase = $argv[4];
+ $testcase = $argv[3];
$testcase = str_replace("application/", "", $testcase);
$testcase = str_replace("/", "\\", $testcase);
$testcase = str_replace(".php", "", $testcase);
$test = new $testcase();
- $test->setServer($url);
$exitcode = 0;