BookStack/tests/TestsApi.php
2019-12-30 19:42:46 +00:00

16 lines
275 B
PHP

<?php
namespace Tests;
trait TestsApi
{
protected $apiTokenId = 'apitoken';
protected $apiTokenSecret = 'password';
protected function errorResponse(string $messge, int $code)
{
return ["error" => ["code" => $code, "message" => $messge]];
}
}