X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=production%2Fexample_apps%2Fzippy_maps%2Ftests%2FFixture%2FCategoriesLocationsFixture.php;fp=production%2Fexample_apps%2Fzippy_maps%2Ftests%2FFixture%2FCategoriesLocationsFixture.php;h=6c515f25326a2b4b22ed4cba3fe674a3a644d85e;hb=935f2f9f0aa8a1cadc390326c2dce73433c44fb2;hp=0000000000000000000000000000000000000000;hpb=911c9ea38f0a6d5ac43091f717e6ffed85f24c8a;p=feisty_meow.git diff --git a/production/example_apps/zippy_maps/tests/Fixture/CategoriesLocationsFixture.php b/production/example_apps/zippy_maps/tests/Fixture/CategoriesLocationsFixture.php new file mode 100644 index 00000000..6c515f25 --- /dev/null +++ b/production/example_apps/zippy_maps/tests/Fixture/CategoriesLocationsFixture.php @@ -0,0 +1,55 @@ + ['type' => 'integer', 'length' => 11, 'unsigned' => true, 'null' => false, 'default' => null, 'comment' => '', 'autoIncrement' => true, 'precision' => null], + 'location_id' => ['type' => 'integer', 'length' => 11, 'unsigned' => true, 'null' => false, 'default' => null, 'comment' => '', 'precision' => null, 'autoIncrement' => null], + 'category_id' => ['type' => 'integer', 'length' => 11, 'unsigned' => true, 'null' => false, '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], + '_indexes' => [ + 'location_id' => ['type' => 'index', 'columns' => ['location_id'], 'length' => []], + 'category_id' => ['type' => 'index', 'columns' => ['category_id'], 'length' => []], + ], + '_constraints' => [ + 'primary' => ['type' => 'primary', 'columns' => ['id'], 'length' => []], + 'categories_locations_ibfk_1' => ['type' => 'foreign', 'columns' => ['location_id'], 'references' => ['locations', 'id'], 'update' => 'restrict', 'delete' => 'restrict', 'length' => []], + 'categories_locations_ibfk_2' => ['type' => 'foreign', 'columns' => ['category_id'], 'references' => ['categories', 'id'], 'update' => 'restrict', 'delete' => 'restrict', 'length' => []], + ], + '_options' => [ + 'engine' => 'InnoDB', + 'collation' => 'utf8_general_ci' + ], + ]; + // @codingStandardsIgnoreEnd + + /** + * Records + * + * @var array + */ + public $records = [ + [ + 'id' => 1, + 'location_id' => 1, + 'category_id' => 1, + 'created' => '2017-05-01 18:36:01', + 'modified' => '2017-05-01 18:36:01' + ], + ]; +}