2022-03-08 15:51:07 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
declare(strict_types=1);
|
|
|
|
|
|
|
|
namespace App\Test\Fixture;
|
|
|
|
|
|
|
|
use Cake\TestSuite\Fixture\TestFixture;
|
|
|
|
|
|
|
|
class MetaTemplateFieldsFixture extends TestFixture
|
|
|
|
{
|
|
|
|
public $connection = 'test';
|
|
|
|
|
|
|
|
public function init(): void
|
|
|
|
{
|
|
|
|
$this->records = [
|
|
|
|
[
|
|
|
|
'field' => 'test_field_1',
|
|
|
|
'type' => 'text',
|
|
|
|
'meta_template_id' => MetaTemplatesFixture::ENABLED_TEST_ORG_META_TEMPLATE_ID,
|
2023-04-06 18:00:46 +02:00
|
|
|
'meta_template_directory_id' => MetaTemplateDirectoryFixture::META_TEMPLATE_DIRECTORY_ID,
|
2022-03-08 15:51:07 +01:00
|
|
|
'regex' => null,
|
|
|
|
'multiple' => 1,
|
|
|
|
'enabled' => 1,
|
|
|
|
'counter' => 0
|
|
|
|
]
|
|
|
|
];
|
|
|
|
|
|
|
|
parent::init();
|
|
|
|
}
|
|
|
|
}
|