X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=production%2Fexample_apps%2Fzippy_maps%2Ftests%2FFixture%2FCategoriesFixture.php;fp=production%2Fexample_apps%2Fzippy_maps%2Ftests%2FFixture%2FCategoriesFixture.php;h=75021793e3caa256b2579655288341acfc61c12f;hb=34d1cb2e8687b826357db1d3821bf9e05cf6f13d;hp=0000000000000000000000000000000000000000;hpb=21f30bb859e6c15393e23ac0e5ef417b82f628a5;p=feisty_meow.git diff --git a/production/example_apps/zippy_maps/tests/Fixture/CategoriesFixture.php b/production/example_apps/zippy_maps/tests/Fixture/CategoriesFixture.php new file mode 100644 index 00000000..75021793 --- /dev/null +++ b/production/example_apps/zippy_maps/tests/Fixture/CategoriesFixture.php @@ -0,0 +1,50 @@ + ['type' => 'integer', 'length' => 11, 'unsigned' => true, 'null' => false, 'default' => null, 'comment' => '', 'autoIncrement' => true, 'precision' => null], + 'name' => ['type' => 'string', 'length' => 255, 'null' => false, 'default' => null, 'collate' => 'utf8_general_ci', 'comment' => '', 'precision' => null, 'fixed' => null], + 'parent' => ['type' => 'integer', 'length' => 11, 'unsigned' => true, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null, 'autoIncrement' => null], + 'created' => ['type' => 'datetime', 'length' => null, 'null' => false, 'default' => null, 'comment' => '', 'precision' => null], + 'modified' => ['type' => 'datetime', 'length' => null, 'null' => false, 'default' => null, 'comment' => '', 'precision' => null], + '_constraints' => [ + 'primary' => ['type' => 'primary', 'columns' => ['id'], 'length' => []], + 'name' => ['type' => 'unique', 'columns' => ['name'], 'length' => []], + ], + '_options' => [ + 'engine' => 'InnoDB', + 'collation' => 'utf8_general_ci' + ], + ]; + // @codingStandardsIgnoreEnd + + /** + * Records + * + * @var array + */ + public $records = [ + [ + 'id' => 1, + 'name' => 'Lorem ipsum dolor sit amet', + 'parent' => 1, + 'created' => '2017-04-26 14:08:10', + 'modified' => '2017-04-26 14:08:10' + ], + ]; +}