PageRenderTime 50ms CodeModel.GetById 24ms RepoModel.GetById 0ms app.codeStats 0ms

/app/tests/fixtures/link_fixture.php

https://github.com/hardsshah/bookmarks
PHP | 25 lines | 22 code | 1 blank | 2 comment | 0 complexity | d4b81ac8770e4718df8dba911e7c5a50 MD5 | raw file
  1. <?php
  2. /* SVN FILE: $Id$ */
  3. /* Link Fixture generated on: 2009-03-08 21:03:21 : 1236562161*/
  4. class LinkFixture extends CakeTestFixture {
  5. var $name = 'Link';
  6. var $fields = array(
  7. 'id' => array('type'=>'integer', 'null' => false, 'default' => NULL, 'length' => 10, 'key' => 'primary'),
  8. 'link_category_id' => array('type'=>'integer', 'null' => false, 'default' => NULL, 'length' => 10),
  9. 'name' => array('type'=>'string', 'null' => false, 'default' => NULL),
  10. 'url' => array('type'=>'string', 'null' => false, 'default' => NULL),
  11. 'created' => array('type'=>'datetime', 'null' => false, 'default' => NULL),
  12. 'modified' => array('type'=>'datetime', 'null' => false, 'default' => NULL),
  13. 'indexes' => array('PRIMARY' => array('column' => 'id', 'unique' => 1))
  14. );
  15. var $records = array(array(
  16. 'id' => 1,
  17. 'link_category_id' => 1,
  18. 'name' => 'Lorem ipsum dolor sit amet',
  19. 'url' => 'Lorem ipsum dolor sit amet',
  20. 'created' => '2009-03-08 21:29:21',
  21. 'modified' => '2009-03-08 21:29:21'
  22. ));
  23. }
  24. ?>