Skip to content

Commit

Permalink
Add tests for newly added entities
Browse files Browse the repository at this point in the history
  • Loading branch information
DannyvdSluijs committed Aug 3, 2021
1 parent cbe4d78 commit d89b922
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions tests/EntityTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -1690,6 +1690,41 @@ public function testWorkcenterEntity()
$this->performEntityTest(\Picqer\Financials\Exact\Workcenter::class);
}

public function testCustomerItemEntity()
{
$this->performEntityTest(\Picqer\Financials\Exact\CustomerItem::class);
}

public function testDeductibilityPercentageEntity()
{
$this->performEntityTest(\Picqer\Financials\Exact\DeductibilityPercentage::class);
}

public function testDigitalOrderPickingEntity()
{
$this->performEntityTest(\Picqer\Financials\Exact\DigitalOrderPicking::class);
}

public function testDigitalOrderPickingLineEntity()
{
$this->performEntityTest(\Picqer\Financials\Exact\DigitalOrderPickingLine::class);
}

public function testEmploymentEndReasonsOnFocusDateEntity()
{
$this->performEntityTest(\Picqer\Financials\Exact\EmploymentEndReasonsOnFocusDate::class);
}

public function testSalesChannelEntity()
{
$this->performEntityTest(\Picqer\Financials\Exact\SalesChannel::class);
}

public function testSystemUserEntity()
{
$this->performEntityTest(\Picqer\Financials\Exact\SystemUser::class);
}

protected function performEntityTest($entityName)
{
$reflectionClass = new \ReflectionClass($entityName);
Expand Down

0 comments on commit d89b922

Please sign in to comment.