LinkableProfileFixture.php 624 B

1234567891011121314151617
  1. <?php
  2. class LinkableProfileFixture extends CakeTestFixture {
  3. public $fields = [
  4. 'id' => ['type' => 'integer', 'key' => 'primary'],
  5. 'user_id' => ['type' => 'integer'],
  6. 'biography' => ['type' => 'string', 'length' => 255, 'null' => false]
  7. ];
  8. public $records = [
  9. ['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. ['id' => 2, 'user_id' => 2, 'biography' => ''],
  11. ['id' => 3, 'user_id' => 3, 'biography' => ''],
  12. ['id' => 4, 'user_id' => 4, 'biography' => '']
  13. ];
  14. }