mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-16 20:08:24 +00:00
e5d7f5279e
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6939 3807eeeb-6ff5-0310-8944-8be069107fe0
16 lines
No EOL
503 B
PHP
16 lines
No EOL
503 B
PHP
<?php
|
|
class CampaignFixture extends CakeTestFixture {
|
|
var $name = 'Campaign';
|
|
|
|
var $fields = array(
|
|
'id' => array('type' => 'integer', 'key' => 'primary'),
|
|
'name' => array('type' => 'string', 'length' => 255, 'null' => false),
|
|
);
|
|
|
|
var $records = array(
|
|
array( 'id' => 1 , 'name' => 'Hurtigruten' ),
|
|
array( 'id' => 2 , 'name' => 'Colorline' ),
|
|
array( 'id' => 3 , 'name' => 'Queen of Scandinavia' )
|
|
);
|
|
}
|
|
?>
|