NewsArticleFixture.php 491 B

12345678910111213141516
  1. <?php
  2. class NewsArticleFixture extends CakeTestFixture {
  3. public $fields = array(
  4. 'id' => array('type' => 'integer', 'key' => 'primary'),
  5. 'title' => array('type' => 'string', 'length' => 255, 'null' => false)
  6. );
  7. public $records = array(
  8. array('id' => 1, 'title' => 'CakePHP the best framework'),
  9. array('id' => 2, 'title' => 'Zend the oldest framework'),
  10. array('id' => 3, 'title' => 'Symfony the engineers framwork'),
  11. array('id' => 4, 'title' => 'CodeIgniter wassat?')
  12. );
  13. }