GenericFixture.php 344 B

12345678910111213141516
  1. <?php
  2. class GenericFixture extends CakeTestFixture {
  3. public $fields = [
  4. 'id' => ['type' => 'integer', 'key' => 'primary'],
  5. 'text' => ['type' => 'string', 'length' => 255, 'null' => false]
  6. ];
  7. public $records = [
  8. ['id' => 1, 'text' => ''],
  9. ['id' => 2, 'text' => ''],
  10. ['id' => 3, 'text' => ''],
  11. ['id' => 4, 'text' => '']
  12. ];
  13. }