Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 09bd89cf41
Fetching contributors…

Cannot retrieve contributors at this time

40 lines (37 sloc) 0.869 kB
<?php
/**
* CommonTestAuthorizableGroupFixture
*
*/
class CommonTestAuthorizableGroupFixture extends CommonTestFixture {
/**
* {@inheritdoc}
*/
public $fields = array(
'id' => array('type' => 'string', 'null' => false, 'default' => NULL, 'length' => 36, 'key' => 'primary'),
'name' => array('type' => 'string', 'null' => true, 'default' => NULL),
'created' => array('type' => 'datetime', 'null' => false, 'default' => NULL),
'modified' => array('type' => 'datetime', 'null' => false, 'default' => NULL),
'indexes' => array(
'PRIMARY' => array('column' => 'id', 'unique' => 1),
'name' => array('column' => 'name', 'unique' => 1)
),
);
/**
* {@inheritdoc}
*/
public $records = array(
array(
'id' => 1,
'name' => 'admin'
),
array(
'id' => 2,
'name' => 'moderator'
),
array(
'id' => 3,
'name' => 'editor'
)
);
}
Jump to Line
Something went wrong with that request. Please try again.