1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- <?php
- namespace App\Test\Fixture;
- use Cake\TestSuite\Fixture\TestFixture;
- /**
- * AddonVersionsFixture
- *
- */
- class AddonVersionsFixture extends TestFixture
- {
- /**
- * Fields
- *
- * @var array
- */
- // @codingStandardsIgnoreStart
- public $fields = [
- 'id' => ['type' => 'integer', 'length' => 11, 'unsigned' => false, 'null' => false, 'default' => null, 'comment' => '', 'autoIncrement' => true, 'precision' => null],
- 'addon_id' => ['type' => 'integer', 'length' => 11, 'unsigned' => false, 'null' => false, 'default' => null, 'comment' => '', 'precision' => null, 'autoIncrement' => null],
- 'path' => ['type' => 'string', 'length' => 255, 'null' => false, 'default' => null, 'comment' => '', 'precision' => null, 'fixed' => null],
- 'version' => ['type' => 'integer', 'length' => 11, 'unsigned' => false, 'null' => false, 'default' => null, 'comment' => '', 'precision' => null, 'autoIncrement' => null],
- 'supported_supertux_versions' => ['type' => 'string', 'length' => 31, 'null' => false, 'default' => null, 'comment' => '', 'precision' => null, 'fixed' => null],
- 'nfo' => ['type' => 'text', 'length' => null, 'null' => false, 'default' => null, 'comment' => '', 'precision' => null],
- '_indexes' => [
- 'addon_id' => ['type' => 'index', 'columns' => ['addon_id'], 'length' => []],
- ],
- '_constraints' => [
- 'primary' => ['type' => 'primary', 'columns' => ['id'], 'length' => []],
- 'addon_id' => ['type' => 'foreign', 'columns' => ['addon_id'], 'references' => ['addons', 'id'], 'update' => 'restrict', 'delete' => 'restrict', 'length' => []],
- ],
- '_options' => [
- 'engine' => 'InnoDB',
- 'collation' => 'utf8_general_ci'
- ],
- ];
- // @codingStandardsIgnoreEnd
- /**
- * Records
- *
- * @var array
- */
- public $records = [
- [
- 'id' => 1,
- 'addon_id' => 1,
- 'path' => 'Lorem ipsum dolor sit amet',
- 'version' => 1,
- 'supported_supertux_versions' => 'Lorem ipsum dolor sit amet',
- 'nfo' => 'Lorem ipsum dolor sit amet, aliquet feugiat. Convallis morbi fringilla gravida, phasellus feugiat dapibus velit nunc, pulvinar eget sollicitudin venenatis cum nullam, vivamus ut a sed, mollitia lectus. Nulla vestibulum massa neque ut et, id hendrerit sit, feugiat in taciti enim proin nibh, tempor dignissim, rhoncus duis vestibulum nunc mattis convallis.'
- ],
- ];
- }
|