BiddingMessageFixture.php 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <?php
  2. /**
  3. * Short description for file.
  4. *
  5. * PHP 5
  6. *
  7. * CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html>
  8. * Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
  9. *
  10. * Licensed under The MIT License
  11. * Redistributions of files must retain the above copyright notice
  12. *
  13. * @copyright Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
  14. * @link http://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
  15. * @package Cake.Test.Fixture
  16. * @since CakePHP(tm) v 1.3.14
  17. * @license MIT License (http://www.opensource.org/licenses/mit-license.php)
  18. */
  19. /**
  20. * Short description for class.
  21. *
  22. * @package Cake.Test.Fixture
  23. */
  24. class BiddingMessageFixture extends CakeTestFixture {
  25. /**
  26. * name property
  27. *
  28. * @var string 'BiddingMessage'
  29. */
  30. public $name = 'BiddingMessage';
  31. /**
  32. * fields property
  33. *
  34. * @var array
  35. */
  36. public $fields = array(
  37. 'bidding' => array('type' => 'string', 'null' => false, 'key' => 'primary'),
  38. 'name' => array('type' => 'string', 'null' => false)
  39. );
  40. /**
  41. * records property
  42. *
  43. * @var array
  44. */
  45. public $records = array(
  46. array('bidding' => 'One', 'name' => 'Message 1'),
  47. array('bidding' => 'Two', 'name' => 'Message 2'),
  48. array('bidding' => 'Three', 'name' => 'Message 3'),
  49. array('bidding' => 'Four', 'name' => 'Message 4')
  50. );
  51. }