3
* Short description for file.
7
* CakePHP(tm) Tests <http://book.cakephp.org/view/1196/Testing>
8
* Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
10
* Licensed under The Open Group Test Suite License
11
* Redistributions of files must retain the above copyright notice.
13
* @copyright Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
14
* @link http://book.cakephp.org/view/1196/Testing CakePHP(tm) Tests
16
* @subpackage cake.tests.fixtures
17
* @since CakePHP(tm) v 1.2.0.4667
18
* @license http://www.opensource.org/licenses/opengroup.php The Open Group Test Suite License
22
* Short description for class.
25
* @subpackage cake.tests.fixtures
27
class AroFixture extends CakeTestFixture {
44
'id' => array('type' => 'integer', 'key' => 'primary'),
45
'parent_id' => array('type' => 'integer', 'length' => 10, 'null' => true),
46
'model' => array('type' => 'string', 'null' => true),
47
'foreign_key' => array('type' => 'integer', 'length' => 10, 'null' => true),
48
'alias' => array('type' => 'string', 'default' => ''),
49
'lft' => array('type' => 'integer', 'length' => 10, 'null' => true),
50
'rght' => array('type' => 'integer', 'length' => 10, 'null' => true)
60
array('parent_id' => null, 'model' => null, 'foreign_key' => null, 'alias' => 'ROOT', 'lft' => 1, 'rght' => 8),
61
array('parent_id' => '1', 'model' => 'Group', 'foreign_key' => '1', 'alias' => 'admins', 'lft' => 2, 'rght' => 7),
62
array('parent_id' => '2', 'model' => 'AuthUser', 'foreign_key' => '1', 'alias' => 'Gandalf', 'lft' => 3, 'rght' => 4),
63
array('parent_id' => '2', 'model' => 'AuthUser', 'foreign_key' => '2', 'alias' => 'Elrond', 'lft' => 5, 'rght' => 6)