|
|
@@ -25,7 +25,7 @@ class SiteAuthorsFixture extends TestFixture
|
|
|
* @var array
|
|
|
*/
|
|
|
public $fields = [
|
|
|
- 'id' => ['type' => 'integer', 'autoIncrement' => true],
|
|
|
+ 'id' => ['type' => 'integer'],
|
|
|
'name' => ['type' => 'string', 'default' => null],
|
|
|
'site_id' => ['type' => 'integer', 'null' => true],
|
|
|
'_constraints' => ['primary' => ['type' => 'primary', 'columns' => ['id', 'site_id']]]
|
|
|
@@ -37,9 +37,9 @@ class SiteAuthorsFixture extends TestFixture
|
|
|
* @var array
|
|
|
*/
|
|
|
public $records = [
|
|
|
- ['name' => 'mark', 'site_id' => 1],
|
|
|
- ['name' => 'juan', 'site_id' => 2],
|
|
|
- ['name' => 'jose', 'site_id' => 2],
|
|
|
- ['name' => 'andy', 'site_id' => 1]
|
|
|
+ ['id' => 1, 'name' => 'mark', 'site_id' => 1],
|
|
|
+ ['id' => 2, 'name' => 'juan', 'site_id' => 2],
|
|
|
+ ['id' => 3, 'name' => 'jose', 'site_id' => 2],
|
|
|
+ ['id' => 4, 'name' => 'andy', 'site_id' => 1]
|
|
|
];
|
|
|
}
|