webadmin/tests/Fixture/AliasFixture.php
2017-06-22 15:48:15 +03:00

61 lines
2.3 KiB
PHP

<?php
namespace App\Test\Fixture;
use Cake\TestSuite\Fixture\TestFixture;
/**
* AliasFixture
*
*/
class AliasFixture extends TestFixture
{
/**
* Table name
*
* @var string
*/
public $table = 'alias';
/**
* Fields
*
* @var array
*/
// @codingStandardsIgnoreStart
public $fields = [
'address' => ['type' => 'string', 'length' => 255, 'null' => false, 'default' => null, 'comment' => '', 'precision' => null, 'fixed' => null],
'goto' => ['type' => 'text', 'length' => null, 'null' => false, 'default' => null, 'comment' => '', 'precision' => null],
'domain' => ['type' => 'string', 'length' => 255, 'null' => false, 'default' => null, 'comment' => '', 'precision' => null, 'fixed' => null],
'created' => ['type' => 'datetime', 'length' => null, 'null' => false, 'default' => '0000-00-00 00:00:00', 'comment' => '', 'precision' => null],
'modified' => ['type' => 'datetime', 'length' => null, 'null' => false, 'default' => '0000-00-00 00:00:00', 'comment' => '', 'precision' => null],
'active' => ['type' => 'boolean', 'length' => null, 'null' => false, 'default' => '1', 'comment' => '', 'precision' => null],
'_indexes' => [
'domain' => ['type' => 'index', 'columns' => ['domain'], 'length' => []],
],
'_constraints' => [
'primary' => ['type' => 'primary', 'columns' => ['address'], 'length' => []],
],
'_options' => [
'engine' => 'MyISAM',
'collation' => 'latin1_swedish_ci'
],
];
// @codingStandardsIgnoreEnd
/**
* Records
*
* @var array
*/
public $records = [
[
'address' => '6310993b-4f9e-40de-a99f-a9281c91d618',
'goto' => 'Lorem ipsum dolor sit amet, aliquet feugiat. Convallis morbi fringilla gravida, phasellus feugiat dapibus velit nunc, pulvinar eget sollicitudin venenatis cum nullam, vivamus ut a sed, mollitia lectus. Nulla vestibulum massa neque ut et, id hendrerit sit, feugiat in taciti enim proin nibh, tempor dignissim, rhoncus duis vestibulum nunc mattis convallis.',
'domain' => 'Lorem ipsum dolor sit amet',
'created' => '2016-05-22 16:06:34',
'modified' => '2016-05-22 16:06:34',
'active' => 1
],
];
}