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

36 lines (32 sloc) 0.883 kB
<?php
/**
* CommonTestCommentableUserFixture
*
*/
class CommonTestCommentableUserFixture extends CommonTestFixture {
/**
* {@inheritdoc}
*/
public $fields = array(
'id' => array('type' => 'string', 'null' => false, 'default' => NULL, 'length' => 36, 'key' => 'primary'),
'password' => array('type' => 'string', 'null' => true, 'default' => NULL),
'email' => 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),
),
);
public $records = array(
array(
'id' => 1,
'password' => 'foo',
'email' => 'foo@example.com'
),
array(
'id' => 2,
'password' => 'bar',
'email' => 'bar@example.com'
),
);
}
Jump to Line
Something went wrong with that request. Please try again.