Created testutils class

This commit is contained in:
Andreas 2019-09-18 17:00:36 +02:00
parent 6a24eaf84a
commit e549b31549

View File

@ -0,0 +1,13 @@
<?php
class TestUtils{
public static $log = [];
public static $status;
public static function log($output, $status = "OK"){
array_push(self::log, ["message" => $output, "status" => $status]);
}
public static function returnLog(){
echo(json_encode(self::$log));
}
}