3
* UUID Tree behavior fixture.
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.7984
18
* @license http://www.opensource.org/licenses/opengroup.php The Open Group Test Suite License
22
* UuidTreeFixture class
24
* @uses CakeTestFixture
26
* @subpackage cake.tests.fixtures
28
class UuidTreeFixture extends CakeTestFixture {
33
* @var string 'UuidTree'
36
var $name = 'UuidTree';
45
'id' => array('type' => 'string', 'length' => 36, 'key' => 'primary'),
46
'name' => array('type' => 'string','null' => false),
47
'parent_id' => array('type' => 'string', 'length' => 36, 'null' => true),
48
'lft' => array('type' => 'integer','null' => false),
49
'rght' => array('type' => 'integer','null' => false)