RevisionCommentFixture.php 780 B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. class RevisionCommentFixture 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. 'content' => array('type' => 'text', 'null' => false, 'default' => NULL),
  11. 'indexes' => array('PRIMARY' => array('column' => 'id')));
  12. public $records = array(
  13. array(
  14. 'id' => 1,
  15. 'title' => 'Comment 1',
  16. 'content' => 'Lorem ipsum dolor sit amet, aliquet feugiat.',
  17. ),
  18. array(
  19. 'id' => 2,
  20. 'title' => 'Comment 2',
  21. 'content' => 'Lorem ipsum dolor sit.',
  22. ),
  23. array(
  24. 'id' => 3,
  25. 'title' => 'Comment 3',
  26. 'content' => 'Lorem ipsum dolor sit.',
  27. ),
  28. );
  29. }