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