cakephp2-php8/lib/Cake/Test/Fixture/GuildsPlayerFixture.php

58 lines
1.3 KiB
PHP
Raw Normal View History

<?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)
*
* 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)
* @link http://book.cakephp.org/view/1196/Testing CakePHP(tm) Tests
* @package Cake.Test.Fixture
* @since CakePHP(tm) v 2.1
* @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(
array('player_id' => 1, 'guild_id' => 1),
array('player_id' => 1, 'guild_id' => 2),
array('player_id' => 4, 'guild_id' => 3),
);
}