SoftDeleteUserFixture.php 480 B

1234567891011121314151617181920212223242526272829
  1. <?php
  2. /**
  3. * SoftDeleteUserFixture
  4. *
  5. */
  6. class SoftDeleteUserFixture extends CakeTestFixture {
  7. /**
  8. * Fields property
  9. *
  10. * @var array
  11. */
  12. public $fields = array(
  13. 'id' => array('type' => 'integer', 'key' => 'primary'),
  14. 'post_count' => array('type' => 'integer'),
  15. 'name' => array('type' => 'string', 'null' => false));
  16. /**
  17. * Records property
  18. *
  19. * @var array
  20. */
  21. public $records = array(
  22. array(
  23. 'id' => 1,
  24. 'post_count' => 2,
  25. 'name' => 'User'));
  26. }