not used to plugin testing - trying to get working but fixtures not working yet
This commit is contained in:
@@ -10,6 +10,22 @@ use Cake\TestSuite\Fixture\TestFixture;
|
||||
*/
|
||||
class ExternalProductCatalogsFixture extends TestFixture
|
||||
{
|
||||
/**
|
||||
* fields property
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
public array $fields = [
|
||||
'id' => ['type' => 'integer'],
|
||||
'product_catalog_id' => ['type' => 'uuid'],
|
||||
'base_url' => ['type' => 'string', 'length' => 255, 'null' => false],
|
||||
'api_url' => ['type' => 'string', 'length' => 255, 'null' => false],
|
||||
'created' => ['type' => 'datetime', 'null' => false],
|
||||
'deleted' => ['type' => 'datetime', 'null' => true],
|
||||
'enabled' => ['type' => 'boolean', 'null' => true],
|
||||
'_constraints' => ['primary' => ['type' => 'primary', 'columns' => ['id']]],
|
||||
];
|
||||
|
||||
/**
|
||||
* Init method
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user