dreamjob/app/Test/Fixture/MicDjJobsApplicationFixture...

59 lines
2.1 KiB
PHP
Raw Normal View History

2014-03-02 11:35:22 +01:00
<?php
/**
* MicDjJobsApplicationFixture
*
*/
class MicDjJobsApplicationFixture extends CakeTestFixture {
/**
* Table name
*
* @var string
*/
public $table = 'mic_dj_jobs_application';
/**
* Fields
*
* @var array
*/
public $fields = array(
'id' => array('type' => 'integer', 'null' => false, 'default' => null, 'key' => 'primary'),
'stars' => array('type' => 'integer', 'null' => false, 'default' => null),
'closed' => array('type' => 'boolean', 'null' => false, 'default' => null),
'offered' => array('type' => 'boolean', 'null' => false, 'default' => null),
'saw' => array('type' => 'boolean', 'null' => false, 'default' => null),
'created' => array('type' => 'datetime', 'null' => false, 'default' => null),
'worker_id' => array('type' => 'integer', 'null' => false, 'default' => null, 'key' => 'index'),
'opening_id' => array('type' => 'integer', 'null' => false, 'default' => null, 'key' => 'index'),
'text' => array('type' => 'text', 'null' => false, 'default' => null, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
'indexes' => array(
'PRIMARY' => array('column' => 'id', 'unique' => 1),
'worker_id' => array('column' => array('worker_id', 'opening_id'), 'unique' => 1),
'mic_dj_jobs_application_20fc5b84' => array('column' => 'worker_id', 'unique' => 0),
'mic_dj_jobs_application_5986cc59' => array('column' => 'opening_id', 'unique' => 0)
),
'tableParameters' => array('charset' => 'utf8', 'collate' => 'utf8_general_ci', 'engine' => 'InnoDB')
);
/**
* Records
*
* @var array
*/
public $records = array(
array(
'id' => 1,
'stars' => 1,
'closed' => 1,
'offered' => 1,
'saw' => 1,
'created' => '2014-03-02 10:54:45',
'worker_id' => 1,
'opening_id' => 1,
'text' => '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.'
),
);
}