GenericFixture.php 389 B

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