LinkableTagFixture.php 498 B

1234567891011121314151617
  1. <?php
  2. class LinkableTagFixture extends CakeTestFixture {
  3. public $fields = [
  4. 'id' => ['type' => 'integer', 'key' => 'primary'],
  5. 'name' => ['type' => 'string', 'length' => 255, 'null' => false],
  6. 'parent_id' => ['type' => 'integer']
  7. ];
  8. public $records = [
  9. ['id' => 1, 'name' => 'General', 'parent_id' => null],
  10. ['id' => 2, 'name' => 'Test I', 'parent_id' => 1],
  11. ['id' => 3, 'name' => 'Test II', 'parent_id' => null],
  12. ['id' => 4, 'name' => 'Test III', 'parent_id' => null]
  13. ];
  14. }