2011-10-27 11:37:46 +00:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* Short description for file.
|
|
|
|
*
|
|
|
|
* PHP 5
|
|
|
|
*
|
|
|
|
* CakePHP(tm) Tests <http://book.cakephp.org/view/1196/Testing>
|
2012-03-13 02:46:46 +00:00
|
|
|
* Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
|
2011-10-27 11:37:46 +00:00
|
|
|
*
|
|
|
|
* Licensed under The MIT License
|
|
|
|
* Redistributions of files must retain the above copyright notice
|
|
|
|
*
|
2012-03-13 02:46:46 +00:00
|
|
|
* @copyright Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
|
2011-10-27 11:37:46 +00:00
|
|
|
* @link http://book.cakephp.org/view/1196/Testing CakePHP(tm) Tests
|
|
|
|
* @package Cake.Test.Fixture
|
2011-11-25 13:03:58 +00:00
|
|
|
* @since CakePHP(tm) v 2.1
|
2011-10-27 11:37:46 +00:00
|
|
|
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Short description for class.
|
|
|
|
*
|
|
|
|
* @package Cake.Test.Fixture
|
|
|
|
*/
|
|
|
|
class GuildsPlayerFixture extends CakeTestFixture {
|
|
|
|
|
|
|
|
/**
|
|
|
|
* name property
|
|
|
|
*
|
|
|
|
* @var string 'GuildsPlayer'
|
|
|
|
*/
|
|
|
|
public $name = 'GuildsPlayer';
|
|
|
|
|
|
|
|
public $useDbConfig = 'test2';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* fields property
|
|
|
|
*
|
|
|
|
* @var array
|
|
|
|
*/
|
|
|
|
public $fields = array(
|
|
|
|
'id' => array('type' => 'integer', 'key' => 'primary'),
|
|
|
|
'player_id' => array('type' => 'integer', 'null' => false),
|
|
|
|
'guild_id' => array('type' => 'integer', 'null' => false),
|
|
|
|
);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* records property
|
|
|
|
*
|
|
|
|
* @var array
|
|
|
|
*/
|
|
|
|
public $records = array(
|
2011-11-25 13:03:58 +00:00
|
|
|
array('player_id' => 1, 'guild_id' => 1),
|
|
|
|
array('player_id' => 1, 'guild_id' => 2),
|
|
|
|
array('player_id' => 4, 'guild_id' => 3),
|
2011-10-27 11:37:46 +00:00
|
|
|
);
|
|
|
|
}
|