mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 00:48:25 +00:00
20 lines
1,004 B
PHP
20 lines
1,004 B
PHP
|
<?php
|
||
|
|
||
|
class UserFixture extends CakeTestFixture {
|
||
|
var $name = 'User';
|
||
|
var $fields = array(
|
||
|
'id' => array('type' => 'integer', 'key' => 'primary'),
|
||
|
'user' => array('type' => 'string', 'null' => false),
|
||
|
'password' => array('type' => 'string', 'null' => false),
|
||
|
'created' => 'datetime',
|
||
|
'updated' => 'datetime'
|
||
|
);
|
||
|
var $records = array(
|
||
|
array('id' => 1, 'user' => 'mariano', 'password' => '5f4dcc3b5aa765d61d8327deb882cf99', 'created' => '2007-03-17 01:16:23', 'updated' => '2007-03-17 01:18:31'),
|
||
|
array('id' => 2, 'user' => 'nate', 'password' => '5f4dcc3b5aa765d61d8327deb882cf99', 'created' => '2007-03-17 01:18:23', 'updated' => '2007-03-17 01:20:31'),
|
||
|
array('id' => 3, 'user' => 'larry', 'password' => '5f4dcc3b5aa765d61d8327deb882cf99', 'created' => '2007-03-17 01:20:23', 'updated' => '2007-03-17 01:22:31'),
|
||
|
array('id' => 4, 'user' => 'garrett', 'password' => '5f4dcc3b5aa765d61d8327deb882cf99', 'created' => '2007-03-17 01:22:23', 'updated' => '2007-03-17 01:24:31'),
|
||
|
);
|
||
|
}
|
||
|
|
||
|
?>
|