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 ProductFixture extends CakeTestFixture {
32
* @var string 'Product'
35
var $name = 'Product';
44
'id' => array('type' => 'integer', 'key' => 'primary'),
45
'name' => array('type' => 'string', 'length' => 255, 'null' => false),
46
'type' => array('type' => 'string', 'length' => 255, 'null' => false),
47
'price' => array('type' => 'integer', 'null' => false)
57
array('name' => 'Park\'s Great Hits', 'type' => 'Music', 'price' => 19),
58
array('name' => 'Silly Puddy', 'type' => 'Toy', 'price' => 3),
59
array('name' => 'Playstation', 'type' => 'Toy', 'price' => 89),
60
array('name' => 'Men\'s T-Shirt', 'type' => 'Clothing', 'price' => 32),
61
array('name' => 'Blouse', 'type' => 'Clothing', 'price' => 34),
62
array('name' => 'Electronica 2002', 'type' => 'Music', 'price' => 4),
63
array('name' => 'Country Tunes', 'type' => 'Music', 'price' => 21),
64
array('name' => 'Watermelon', 'type' => 'Food', 'price' => 9)