From 2e295fa11c1606c38c91026b2d39ce5b05704ace Mon Sep 17 00:00:00 2001 From: Andreas Date: Wed, 18 Sep 2019 18:05:11 +0200 Subject: [PATCH] rookie mistakes --- dev_mvc/controller/MVCController.php | 1 + dev_mvc/controller/TestUtils.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/dev_mvc/controller/MVCController.php b/dev_mvc/controller/MVCController.php index e496d16..bf234c3 100644 --- a/dev_mvc/controller/MVCController.php +++ b/dev_mvc/controller/MVCController.php @@ -71,6 +71,7 @@ class MVCController{ echo('"output": ['); //execute testaction include_once($this->testaction); + TestUtils::log('End of output', "OK", false); echo("]"); } diff --git a/dev_mvc/controller/TestUtils.php b/dev_mvc/controller/TestUtils.php index 2aa3812..238334f 100644 --- a/dev_mvc/controller/TestUtils.php +++ b/dev_mvc/controller/TestUtils.php @@ -4,7 +4,7 @@ class TestUtils{ public static $log = []; public static $status; - public static function log($output, $status = "OK",$addComma = false){ + public static function log($output, $status = "OK",$addComma = true){ $loginput = []; $loginput['message'] = $output; $loginput['status'] = $status;