fix
This commit is contained in:
parent
b4262fe521
commit
f65108119d
@ -5,8 +5,10 @@ class TestUtils{
|
|||||||
public static $log = [];
|
public static $log = [];
|
||||||
public static $status;
|
public static $status;
|
||||||
public static function log($output, $status = "OK"){
|
public static function log($output, $status = "OK"){
|
||||||
$logout = array("message" => $output, "status" => $status);
|
$loginput = [];
|
||||||
array_push(self::log, $logout);
|
$loginput['message'] = $output;
|
||||||
|
$loginput['status'] = $status;
|
||||||
|
array_push(self::log, $loginput);
|
||||||
}
|
}
|
||||||
public static function returnLog(){
|
public static function returnLog(){
|
||||||
echo(json_encode(self::$log));
|
echo(json_encode(self::$log));
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user