2010-07-09 03:25:39 +00:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* BakeCommentFixture
|
|
|
|
*
|
|
|
|
* PHP 5
|
|
|
|
*
|
2012-04-27 02:49:18 +00:00
|
|
|
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html>
|
2013-02-08 11:59:49 +00:00
|
|
|
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
|
2010-07-09 03:25:39 +00:00
|
|
|
*
|
|
|
|
* Licensed under The MIT License
|
2013-02-08 12:22:51 +00:00
|
|
|
* For full copyright and license information, please see the LICENSE.txt
|
2010-07-09 03:25:39 +00:00
|
|
|
* Redistributions of files must retain the above copyright notice.
|
|
|
|
*
|
2013-02-08 11:59:49 +00:00
|
|
|
* @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
|
2012-04-27 02:49:18 +00:00
|
|
|
* @link http://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
|
2011-07-26 06:16:14 +00:00
|
|
|
* @package Cake.Test.Fixture
|
2010-07-09 03:25:39 +00:00
|
|
|
* @since CakePHP(tm) v 2.0
|
2013-05-30 22:11:14 +00:00
|
|
|
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
2010-07-09 03:25:39 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* BakeCommentFixture fixture for testing bake
|
|
|
|
*
|
2011-07-26 06:16:14 +00:00
|
|
|
* @package Cake.Test.Fixture
|
2010-07-09 03:25:39 +00:00
|
|
|
*/
|
|
|
|
class BakeCommentFixture extends CakeTestFixture {
|
|
|
|
|
|
|
|
/**
|
|
|
|
* name property
|
|
|
|
*
|
|
|
|
* @var string 'Comment'
|
|
|
|
*/
|
|
|
|
public $name = 'BakeComment';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* fields property
|
|
|
|
*
|
|
|
|
* @var array
|
|
|
|
*/
|
|
|
|
public $fields = array(
|
2011-11-25 15:25:11 +00:00
|
|
|
'otherid' => array('type' => 'integer', 'key' => 'primary'),
|
2011-12-01 07:21:31 +00:00
|
|
|
'bake_article_id' => array('type' => 'integer', 'null' => false),
|
|
|
|
'bake_user_id' => array('type' => 'integer', 'null' => false),
|
2010-07-09 03:25:39 +00:00
|
|
|
'comment' => 'text',
|
|
|
|
'published' => array('type' => 'string', 'length' => 1, 'default' => 'N'),
|
|
|
|
'created' => 'datetime',
|
|
|
|
'updated' => 'datetime'
|
|
|
|
);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* records property
|
|
|
|
*
|
|
|
|
* @var array
|
|
|
|
*/
|
|
|
|
public $records = array();
|
|
|
|
}
|