mirror of
https://github.com/Karaka-Management/oms-ProjectManagement.git
synced 2026-02-09 20:38:42 +00:00
Automated formatting changes
This commit is contained in:
parent
0aec2ecf02
commit
3edc555b4e
|
|
@ -59,7 +59,7 @@ final class ProjectAttributeTypeMapper extends DataMapperFactory
|
||||||
'mapper' => ProjectAttributeValueMapper::class,
|
'mapper' => ProjectAttributeValueMapper::class,
|
||||||
'table' => 'projectmanagement_project_attr_default',
|
'table' => 'projectmanagement_project_attr_default',
|
||||||
'self' => 'projectmanagement_project_attr_default_type',
|
'self' => 'projectmanagement_project_attr_default_type',
|
||||||
'external' => 'projectmanagement_project_attr_default_value'
|
'external' => 'projectmanagement_project_attr_default_value',
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -45,9 +45,9 @@ final class ProjectMapperTest extends \PHPUnit\Framework\TestCase
|
||||||
$money = new Money();
|
$money = new Money();
|
||||||
$money->setString('1.23');
|
$money->setString('1.23');
|
||||||
|
|
||||||
$project->budgetCosts = $money;
|
$project->budgetCosts = $money;
|
||||||
$project->budgetEarnings = $money;
|
$project->budgetEarnings = $money;
|
||||||
$project->actualCosts = $money;
|
$project->actualCosts = $money;
|
||||||
$project->actualEarnings = $money;
|
$project->actualEarnings = $money;
|
||||||
|
|
||||||
$task = new Task();
|
$task = new Task();
|
||||||
|
|
|
||||||
|
|
@ -174,19 +174,19 @@ final class ProjectTest extends \PHPUnit\Framework\TestCase
|
||||||
|
|
||||||
self::assertEquals(
|
self::assertEquals(
|
||||||
[
|
[
|
||||||
'id' => 0,
|
'id' => 0,
|
||||||
'start' => $this->project->start,
|
'start' => $this->project->start,
|
||||||
'end' => $this->project->end,
|
'end' => $this->project->end,
|
||||||
'name' => 'Name',
|
'name' => 'Name',
|
||||||
'description' => 'Description',
|
'description' => 'Description',
|
||||||
'budgetCosts' => new Money(),
|
'budgetCosts' => new Money(),
|
||||||
'budgetEarnings' => new Money(),
|
'budgetEarnings' => new Money(),
|
||||||
'actualCosts' => new Money(),
|
'actualCosts' => new Money(),
|
||||||
'actualEarnings' => new Money(),
|
'actualEarnings' => new Money(),
|
||||||
'tasks' => [],
|
'tasks' => [],
|
||||||
'media' => [],
|
'media' => [],
|
||||||
'progress' => 10,
|
'progress' => 10,
|
||||||
'progressType' => ProgressType::TASKS,
|
'progressType' => ProgressType::TASKS,
|
||||||
],
|
],
|
||||||
$serialized
|
$serialized
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user