mirror of
https://github.com/Karaka-Management/oms-EventManagement.git
synced 2026-02-16 17:58:41 +00:00
Fix test bugs
This commit is contained in:
parent
47b1a7f468
commit
9ac9439810
|
|
@ -82,7 +82,7 @@ class Event
|
||||||
public function __construct(string $name = '')
|
public function __construct(string $name = '')
|
||||||
{
|
{
|
||||||
$this->start = new \DateTime('now');
|
$this->start = new \DateTime('now');
|
||||||
$this->end = new \DateTime('now');
|
$this->end = (new \DateTime('now'))->modify('+1 month');
|
||||||
$this->calendar = new Calendar();
|
$this->calendar = new Calendar();
|
||||||
$this->costs = new Money();
|
$this->costs = new Money();
|
||||||
$this->budget = new Money();
|
$this->budget = new Money();
|
||||||
|
|
@ -119,7 +119,7 @@ class Event
|
||||||
|
|
||||||
public function setProgress(int $progress) /* : void */
|
public function setProgress(int $progress) /* : void */
|
||||||
{
|
{
|
||||||
$this->progress = $progres;
|
$this->progress = $progress;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getProgressType() : int
|
public function getProgressType() : int
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user