41 lines
897 B
PHP
41 lines
897 B
PHP
<?php
|
|
declare(strict_types=1);
|
|
|
|
namespace CakeAccounting\Test\Fixture;
|
|
|
|
use Cake\TestSuite\Fixture\TestFixture;
|
|
|
|
/**
|
|
* DeEntityTypesFixture
|
|
*/
|
|
class DeEntityTypesFixture extends TestFixture
|
|
{
|
|
/**
|
|
* Init method
|
|
*
|
|
* @return void
|
|
*/
|
|
public function init(): void
|
|
{
|
|
$this->records = [
|
|
[
|
|
'entity_type_code' => DE_ENTITY_TYPE_BANK_ACCOUNT,
|
|
'name' => 'Bank Account',
|
|
],
|
|
[
|
|
'entity_type_code' => DE_ENTITY_TYPE_PERSON,
|
|
'name' => 'Person',
|
|
],
|
|
[
|
|
'entity_type_code' => DE_ENTITY_TYPE_ORGANIZATION,
|
|
'name' => 'Organization',
|
|
],
|
|
[
|
|
'entity_type_code' => DE_ENTITY_TYPE_PROPERTY,
|
|
'name' => 'Property',
|
|
],
|
|
];
|
|
parent::init();
|
|
}
|
|
}
|