50 lines
1.7 KiB
PHP
50 lines
1.7 KiB
PHP
<?php
|
|
namespace App\Test\Fixture;
|
|
|
|
use Cake\TestSuite\Fixture\TestFixture;
|
|
|
|
/**
|
|
* AdminMappingsFixture
|
|
*
|
|
*/
|
|
class AdminMappingsFixture extends TestFixture
|
|
{
|
|
|
|
/**
|
|
* Fields
|
|
*
|
|
* @var array
|
|
*/
|
|
// @codingStandardsIgnoreStart
|
|
public $fields = [
|
|
'id' => ['type' => 'uuid', 'length' => null, 'null' => false, 'default' => null, 'comment' => '', 'precision' => null],
|
|
'user_id' => ['type' => 'uuid', 'length' => null, 'null' => false, 'default' => null, 'comment' => '', 'precision' => null],
|
|
'account_mapping_id' => ['type' => 'uuid', 'length' => null, 'null' => false, 'default' => null, 'comment' => '', 'precision' => null],
|
|
'created' => ['type' => 'datetime', 'length' => null, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null],
|
|
'modified' => ['type' => 'datetime', 'length' => null, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null],
|
|
'_constraints' => [
|
|
'primary' => ['type' => 'primary', 'columns' => ['id'], 'length' => []],
|
|
'index_1' => ['type' => 'unique', 'columns' => ['user_id', 'account_mapping_id'], 'length' => []],
|
|
],
|
|
'_options' => [
|
|
'engine' => 'MyISAM',
|
|
'collation' => 'latin1_swedish_ci'
|
|
],
|
|
];
|
|
// @codingStandardsIgnoreEnd
|
|
|
|
/**
|
|
* Records
|
|
*
|
|
* @var array
|
|
*/
|
|
public $records = [
|
|
[
|
|
'id' => '3036fff3-14de-4f10-9692-fb3e33500ec8',
|
|
'user_id' => '2657bdec-922f-4ac1-a4d3-7e5a33618507',
|
|
'account_mapping_id' => '12c50fff-7216-451e-96eb-086141c1182d',
|
|
'created' => '2016-05-06 07:55:14',
|
|
'modified' => '2016-05-06 07:55:14'
|
|
],
|
|
];
|
|
}
|