mirror of
https://github.com/Karaka-Management/oms-HumanResourceTimeRecording.git
synced 2026-01-11 11:58:47 +00:00
test fixes
This commit is contained in:
parent
5ba37f0aee
commit
c95bace4a3
|
|
@ -57,7 +57,7 @@ class Session implements \JsonSerializable
|
|||
* @var int
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private int $busy = 0;
|
||||
public int $busy = 0;
|
||||
|
||||
/**
|
||||
* Session type.
|
||||
|
|
@ -73,7 +73,7 @@ class Session implements \JsonSerializable
|
|||
* @var array
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private array $sessionElements = [];
|
||||
public array $sessionElements = [];
|
||||
|
||||
/**
|
||||
* Employee.
|
||||
|
|
|
|||
|
|
@ -147,7 +147,7 @@ final class ApiControllerTest extends \PHPUnit\Framework\TestCase
|
|||
$request->setData('account', 9999);
|
||||
|
||||
$this->module->apiSessionCreate($request, $response);
|
||||
self::assertEquals(RequestStatusCode::R_400, $response->header->status);
|
||||
self::assertEquals(RequestStatusCode::R_403, $response->header->status);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user