LinkableProfileFixture.php 673 B

1234567891011121314151617
  1. <?php
  2. class LinkableProfileFixture extends CakeTestFixture {
  3. public $fields = array(
  4. 'id' => array('type' => 'integer', 'key' => 'primary'),
  5. 'user_id' => array('type' => 'integer'),
  6. 'biography' => array('type' => 'string', 'length' => 255, 'null' => false)
  7. );
  8. public $records = array(
  9. array ('id' => 1, 'user_id' => 1, 'biography' => 'CakePHP is a rapid development framework for PHP that provides an extensible architecture for developing, maintaining, and deploying applications.'),
  10. array ('id' => 2, 'user_id' => 2, 'biography' => ''),
  11. array ('id' => 3, 'user_id' => 3, 'biography' => ''),
  12. array ('id' => 4, 'user_id' => 4, 'biography' => '')
  13. );
  14. }