dreamjob/app/Test/Fixture/MicDjAccountAccFixture.php

46 lines
1.2 KiB
PHP
Raw Normal View History

2014-02-18 12:10:29 +01:00
<?php
/**
* MicDjAccountAccFixture
*
*/
class MicDjAccountAccFixture extends CakeTestFixture {
/**
* Table name
*
* @var string
*/
public $table = 'mic_dj_account_acc';
/**
* Fields
*
* @var array
*/
public $fields = array(
'micapplication_ptr_id' => array('type' => 'integer', 'null' => false, 'default' => null, 'key' => 'primary'),
'street' => array('type' => 'string', 'null' => false, 'default' => null, 'length' => 100, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
'city' => array('type' => 'string', 'null' => false, 'default' => null, 'length' => 100, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
'postcode' => array('type' => 'string', 'null' => false, 'default' => null, 'length' => 100, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
'indexes' => array(
'PRIMARY' => array('column' => 'micapplication_ptr_id', 'unique' => 1)
),
'tableParameters' => array('charset' => 'utf8', 'collate' => 'utf8_general_ci', 'engine' => 'InnoDB')
);
/**
* Records
*
* @var array
*/
public $records = array(
array(
'micapplication_ptr_id' => 1,
'street' => 'Lorem ipsum dolor sit amet',
'city' => 'Lorem ipsum dolor sit amet',
'postcode' => 'Lorem ipsum dolor sit amet'
),
);
}