RevisionCommentFixture.php 807 B

1234567891011121314151617181920212223242526272829303132
  1. <?php
  2. class RevisionCommentFixture extends CakeTestFixture {
  3. var $name = 'RevisionComment';
  4. var $fields = array(
  5. 'id' => array(
  6. 'type' => 'integer',
  7. 'null' => false,
  8. 'default' => NULL,
  9. 'key' => 'primary'),
  10. 'title' => array('type' => 'string', 'null' => false, 'default' => NULL),
  11. 'content' => array('type' => 'text', 'null' => false, 'default' => NULL),
  12. 'indexes' => array('PRIMARY' => array('column' => 'id')));
  13. var $records = array(
  14. array(
  15. 'id' => 1,
  16. 'title' => 'Comment 1',
  17. 'content' => 'Lorem ipsum dolor sit amet, aliquet feugiat.',
  18. ),
  19. array(
  20. 'id' => 2,
  21. 'title' => 'Comment 2',
  22. 'content' => 'Lorem ipsum dolor sit.',
  23. ),
  24. array(
  25. 'id' => 3,
  26. 'title' => 'Comment 3',
  27. 'content' => 'Lorem ipsum dolor sit.',
  28. ),
  29. );
  30. }
  31. ?>