dreamjob/app/Test/Fixture/MicDjPageTxtFixture.php

42 lines
1.1 KiB
PHP
Raw Normal View History

2014-02-18 12:10:29 +01:00
<?php
/**
* MicDjPageTxtFixture
*
*/
class MicDjPageTxtFixture extends CakeTestFixture {
/**
* Table name
*
* @var string
*/
public $table = 'mic_dj_page_txt';
/**
* Fields
*
* @var array
*/
public $fields = array(
'page_ptr_id' => array('type' => 'integer', 'null' => false, 'default' => null, 'key' => 'primary'),
'text' => array('type' => 'text', 'null' => false, 'default' => null, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
'indexes' => array(
'PRIMARY' => array('column' => 'page_ptr_id', 'unique' => 1)
),
'tableParameters' => array('charset' => 'utf8', 'collate' => 'utf8_general_ci', 'engine' => 'InnoDB')
);
/**
* Records
*
* @var array
*/
public $records = array(
array(
'page_ptr_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.'
),
);
}