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

63 lines
2.2 KiB
PHP

<?php
namespace App\Test\Fixture;
use Cake\TestSuite\Fixture\TestFixture;
/**
* SenderBccDomainFixture
*
*/
class SenderBccDomainFixture extends TestFixture
{
/**
* Table name
*
* @var string
*/
public $table = 'sender_bcc_domain';
/**
* Fields
*
* @var array
*/
// @codingStandardsIgnoreStart
public $fields = [
'domain' => ['type' => 'string', 'length' => 255, 'null' => false, 'default' => '', 'comment' => '', 'precision' => null, 'fixed' => null],
'bcc_address' => ['type' => 'string', 'length' => 255, 'null' => false, 'default' => '', '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],
'expired' => ['type' => 'datetime', 'length' => null, 'null' => false, 'default' => '9999-12-31 00:00:00', 'comment' => '', 'precision' => null],
'active' => ['type' => 'boolean', 'length' => null, 'null' => false, 'default' => '1', 'comment' => '', 'precision' => null],
'_indexes' => [
'bcc_address' => ['type' => 'index', 'columns' => ['bcc_address'], 'length' => []],
'expired' => ['type' => 'index', 'columns' => ['expired'], 'length' => []],
'active' => ['type' => 'index', 'columns' => ['active'], 'length' => []],
],
'_constraints' => [
'primary' => ['type' => 'primary', 'columns' => ['domain'], 'length' => []],
],
'_options' => [
'engine' => 'MyISAM',
'collation' => 'utf8_general_ci'
],
];
// @codingStandardsIgnoreEnd
/**
* Records
*
* @var array
*/
public $records = [
[
'domain' => 'f9c6073e-c6a6-4f62-bd2b-e844794826e5',
'bcc_address' => 'Lorem ipsum dolor sit amet',
'created' => '2016-05-22 16:08:04',
'modified' => '2016-05-22 16:08:04',
'expired' => '2016-05-22 16:08:04',
'active' => 1
],
];
}