mirror of
https://github.com/Karaka-Management/oms-HumanResourceTimeRecording.git
synced 2026-02-15 04:08:40 +00:00
test fixes
This commit is contained in:
parent
5ba37f0aee
commit
c95bace4a3
|
|
@ -57,7 +57,7 @@ class Session implements \JsonSerializable
|
||||||
* @var int
|
* @var int
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
private int $busy = 0;
|
public int $busy = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Session type.
|
* Session type.
|
||||||
|
|
@ -73,7 +73,7 @@ class Session implements \JsonSerializable
|
||||||
* @var array
|
* @var array
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
private array $sessionElements = [];
|
public array $sessionElements = [];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Employee.
|
* Employee.
|
||||||
|
|
|
||||||
|
|
@ -147,7 +147,7 @@ final class ApiControllerTest extends \PHPUnit\Framework\TestCase
|
||||||
$request->setData('account', 9999);
|
$request->setData('account', 9999);
|
||||||
|
|
||||||
$this->module->apiSessionCreate($request, $response);
|
$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