Seditio Source
Root |
./othercms/croogo-4.0.7/vendor/croogo/croogo/Taxonomy/tests/Fixture/ModelTaxonomyFixture.php
<?php

namespace Croogo\Taxonomy\Test\Fixture;

use
Croogo\Core\TestSuite\CroogoTestFixture;

class
ModelTaxonomyFixture extends CroogoTestFixture
{

    public
$name = 'ModelTaxonomy';

    public
$fields = [
       
'id' => ['type' => 'integer', 'null' => false, 'default' => null, 'length' => 20],
       
'model' => ['type' => 'string', 'null' => false, 'default' => 'Node', 'length' => 50],
       
'foreign_key' => ['type' => 'integer', 'null' => false, 'default' => '0', 'length' => 20],
       
'taxonomy_id' => ['type' => 'integer', 'null' => false, 'default' => null, 'length' => 20],
       
'_constraints' => ['primary' => ['type' => 'primary', 'columns' => ['id']], 'PRIMARY' => ['type' => 'unique', 'columns' => 'id']],
       
'_options' => ['charset' => 'utf8', 'collate' => 'utf8_unicode_ci', 'engine' => 'InnoDB']
    ];

    public
$records = [
        [
           
'id' => 1,
           
'model' => 'Node',
           
'foreign_key' => 1,
           
'taxonomy_id' => 1
       
],
    ];
}