mirror of https://github.com/MISP/MISP
32 lines
686 B
PHP
32 lines
686 B
PHP
<?php
|
|
/**
|
|
* GroupFixture
|
|
*
|
|
*/
|
|
class GroupFixture extends CakeTestFixture {
|
|
|
|
/**
|
|
* Fields
|
|
*
|
|
* @var array
|
|
*/
|
|
public $fields = array(
|
|
'id' => array('type' => 'integer', 'null' => false, 'default' => NULL, 'key' => 'primary'),
|
|
'name' => array('type' => 'string', 'null' => false, 'default' => NULL, 'length' => 100, 'collate' => 'utf8_bin', 'charset' => 'utf8'),
|
|
'indexes' => array('PRIMARY' => array('column' => 'id', 'unique' => 1)),
|
|
'tableParameters' => array('charset' => 'utf8', 'collate' => 'utf8_bin', 'engine' => 'MyISAM')
|
|
);
|
|
|
|
/**
|
|
* Records
|
|
*
|
|
* @var array
|
|
*/
|
|
public $records = array(
|
|
array(
|
|
'id' => 1,
|
|
'name' => 'Lorem ipsum dolor sit amet'
|
|
),
|
|
);
|
|
}
|