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

namespace Croogo\Acl\Test\Fixture;

use
Croogo\TestSuite\CroogoTestFixture;

class
MembershipFixture extends CroogoTestFixture
{

   
/**
     * fields property
     *
     * @var array
     */
   
public $fields = [
       
'id' => ['type' => 'integer'],
       
'employee_id' => ['type' => 'integer', 'null' => false],
       
'department_id' => ['type' => 'integer', 'null' => false],
       
'_constraints' => ['primary' => ['type' => 'primary', 'columns' => ['id']]]
    ];

   
/**
     * records property
     *
     * @var array
     */
   
public $records = [
        [
'employee_id' => 1, 'department_id' => 1],
        [
'employee_id' => 1, 'department_id' => 4],
        [
'employee_id' => 4, 'department_id' => 3],
    ];
}