Seditio Source
Root |
./othercms/croogo-4.0.7/vendor/friendsofcake/crud-json-api/tests/Fixture/CurrenciesFixture.php
<?php
namespace CrudJsonApi\Test\Fixture;

use
Cake\TestSuite\Fixture\TestFixture;

class
CurrenciesFixture extends TestFixture
{

    public
$fields = [
       
'id' => ['type' => 'integer'],
       
'code' => ['type' => 'string', 'length' => 3, 'null' => false],
       
'name' => ['type' => 'string', 'length' => 100, 'null' => false],
       
'_constraints' => ['primary' => ['type' => 'primary', 'columns' => ['id']]],
    ];

    public
$records = [
        [
'code' => 'EUR', 'name' => 'Euro'],
        [
'code' => 'USD', 'name' => 'US Dollar'],
    ];
}