UserFixture.php 431 B

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