mirror of
https://github.com/Karaka-Management/oms-Production.git
synced 2026-02-11 03:18:41 +00:00
fix tests
This commit is contained in:
parent
68aeaddd26
commit
33585732de
|
|
@ -38,6 +38,11 @@ class Machine
|
|||
|
||||
public int $unit = 0;
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
$this->equipment = new NullEquipment();
|
||||
|
|
|
|||
|
|
@ -46,6 +46,11 @@ class Production
|
|||
|
||||
public Item $item;
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
$this->createdAt = new \DateTimeImmutable('now');
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user