RevisionTagFixture.php 568 B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. class RevisionTagFixture extends CakeTestFixture {
  3. public $fields = array(
  4. 'id' => array(
  5. 'type' => 'integer',
  6. 'null' => false,
  7. 'default' => NULL,
  8. 'key' => 'primary'),
  9. 'title' => array('type' => 'string', 'null' => false, 'default' => NULL),
  10. 'indexes' => array('PRIMARY' => array('column' => 'id')));
  11. public $records = array(
  12. array(
  13. 'id' => 1,
  14. 'title' => 'Fun',
  15. ),
  16. array(
  17. 'id' => 2,
  18. 'title' => 'Hard'
  19. ),
  20. array(
  21. 'id' => 3,
  22. 'title' => 'Trick'
  23. ),
  24. array(
  25. 'id' => 4,
  26. 'title' => 'News'
  27. ),
  28. );
  29. }