RevisionCommentFixture.php 716 B

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