SoftDeleteUserFixture.php 450 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 = [
  13. 'id' => ['type' => 'integer', 'key' => 'primary'],
  14. 'post_count' => ['type' => 'integer'],
  15. 'name' => ['type' => 'string', 'null' => false]];
  16. /**
  17. * Records property
  18. *
  19. * @var array
  20. */
  21. public $records = [
  22. [
  23. 'id' => 1,
  24. 'post_count' => 2,
  25. 'name' => 'User']];
  26. }