CakeAccounting/tests/Fixture/DeEntityTypesFixture.php

41 lines
897 B
PHP
Raw Normal View History

2025-08-09 21:07:39 +00:00
<?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();
}
}