50 lines
1.6 KiB
PHP
50 lines
1.6 KiB
PHP
|
<?php
|
||
|
namespace App\Test\Fixture;
|
||
|
|
||
|
use Cake\TestSuite\Fixture\TestFixture;
|
||
|
|
||
|
/**
|
||
|
* AccountsFixture
|
||
|
*
|
||
|
*/
|
||
|
class AccountsFixture extends TestFixture
|
||
|
{
|
||
|
|
||
|
/**
|
||
|
* Fields
|
||
|
*
|
||
|
* @var array
|
||
|
*/
|
||
|
// @codingStandardsIgnoreStart
|
||
|
public $fields = [
|
||
|
'id' => ['type' => 'uuid', 'length' => null, 'null' => false, 'default' => null, 'comment' => '', 'precision' => null],
|
||
|
'datasource' => ['type' => 'string', 'length' => 255, 'null' => false, 'default' => null, 'comment' => '', 'precision' => null, 'fixed' => null],
|
||
|
'description' => ['type' => 'string', 'length' => 255, 'null' => false, 'default' => null, 'comment' => '', 'precision' => null, 'fixed' => 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' => []],
|
||
|
],
|
||
|
'_options' => [
|
||
|
'engine' => 'MyISAM',
|
||
|
'collation' => 'latin1_swedish_ci'
|
||
|
],
|
||
|
];
|
||
|
// @codingStandardsIgnoreEnd
|
||
|
|
||
|
/**
|
||
|
* Records
|
||
|
*
|
||
|
* @var array
|
||
|
*/
|
||
|
public $records = [
|
||
|
[
|
||
|
'id' => 'b5ee63f9-514d-42f4-8d20-47a53aef5b22',
|
||
|
'datasource' => 'Lorem ipsum dolor sit amet',
|
||
|
'description' => 'Lorem ipsum dolor sit amet',
|
||
|
'created' => '2016-06-17 08:20:56',
|
||
|
'modified' => '2016-06-17 08:20:56'
|
||
|
],
|
||
|
];
|
||
|
}
|