mirror of
https://github.com/Karaka-Management/oms-Script.git
synced 2026-01-14 05:48:41 +00:00
add tests
This commit is contained in:
parent
7dcd5f41e5
commit
bbf2bd6697
|
|
@ -288,12 +288,13 @@ class Report implements \JsonSerializable
|
|||
public function toArray() : array
|
||||
{
|
||||
return [
|
||||
'id' => $this->id,
|
||||
'createdBy' => $this->createdBy,
|
||||
'createdAt' => $this->createdAt,
|
||||
'name' => $this->title,
|
||||
'description' => $this->description,
|
||||
'status' => $this->status,
|
||||
'id' => $this->id,
|
||||
'createdBy' => $this->createdBy,
|
||||
'createdAt' => $this->createdAt,
|
||||
'name' => $this->title,
|
||||
'description' => $this->description,
|
||||
'descriptionRaw' => $this->descriptionRaw,
|
||||
'status' => $this->status,
|
||||
];
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -382,14 +382,15 @@ class Template implements \JsonSerializable
|
|||
public function toArray() : array
|
||||
{
|
||||
return [
|
||||
'id' => $this->id,
|
||||
'createdBy' => $this->createdBy,
|
||||
'createdAt' => $this->createdAt,
|
||||
'name' => $this->name,
|
||||
'description' => $this->description,
|
||||
'status' => $this->status,
|
||||
'datatype' => $this->datatype,
|
||||
'standalone' => $this->isStandalone,
|
||||
'id' => $this->id,
|
||||
'createdBy' => $this->createdBy,
|
||||
'createdAt' => $this->createdAt,
|
||||
'name' => $this->name,
|
||||
'description' => $this->description,
|
||||
'descriptionRaw' => $this->descriptionRaw,
|
||||
'status' => $this->status,
|
||||
'datatype' => $this->datatype,
|
||||
'standalone' => $this->isStandalone,
|
||||
];
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user