| 12345678910111213141516171819202122232425262728293031323334 |
- <?php
- namespace Tools\Test\Fixture;
- use Cake\TestSuite\Fixture\TestFixture;
- /**
- * Class SluggedArticleFixture
- *
- */
- class SluggedArticleFixture extends TestFixture {
- /**
- * fields property
- *
- * @var array
- */
- public $fields = array(
- 'id' => ['type' => 'integer'],
- 'title' => ['type' => 'string', 'null' => false],
- 'slug' => ['type' => 'string', 'null' => false],
- '_constraints' => ['primary' => ['type' => 'primary', 'columns' => ['id']]]
- );
- /**
- * records property
- *
- * @var array
- */
- public $records = array(
- array('title' => 'Foo', 'slug' => 'foo'),
- );
- }
|