WhoDidItPlayerFixture.php 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <?php
  2. /**
  3. * Fixture for WhoDidIt
  4. *
  5. * PHP 5
  6. *
  7. * @author Mark Scherrer
  8. * @author Marc Würth
  9. * @license MIT License (http://www.opensource.org/licenses/mit-license.php)
  10. * @link https://github.com/dereuromark/tools
  11. */
  12. /**
  13. * Class WhoDidItPlayerFixture
  14. *
  15. */
  16. class WhoDidItPlayerFixture extends CakeTestFixture {
  17. /**
  18. * Fields property
  19. *
  20. * @var array
  21. */
  22. public $fields = array(
  23. 'id' => array('type' => 'integer', 'key' => 'primary'),
  24. 'name' => array('type' => 'string', 'null' => false),
  25. 'created' => 'datetime',
  26. 'created_by' => array('type' => 'integer', 'null' => true),
  27. 'modified' => 'datetime',
  28. 'modified_by' => array('type' => 'integer', 'null' => true)
  29. );
  30. /**
  31. * Records property
  32. *
  33. * @var array
  34. */
  35. public $records = array(
  36. array('name' => 'mark', 'created' => '2007-03-17 01:16:23'),
  37. array('name' => 'jack', 'created' => '2007-03-17 01:18:23'),
  38. array('name' => 'larry', 'created' => '2007-03-17 01:20:23'),
  39. array('name' => 'jose', 'created' => '2007-03-17 01:22:23'),
  40. );
  41. }