from main app code base
This commit is contained in:
@@ -10,21 +10,6 @@ use Cake\TestSuite\Fixture\TestFixture;
|
||||
*/
|
||||
class ProductsFixture extends TestFixture
|
||||
{
|
||||
public string $table = 'products';
|
||||
|
||||
/**
|
||||
* fields property
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
public array $fields = [
|
||||
'id' => ['type' => 'uuid'],
|
||||
'name' => ['type' => 'string', 'length' => 255, 'null' => false],
|
||||
'product_category_id' => ['type' => 'uuid'],
|
||||
'product_type_id' => ['type' => 'integer', 'length' => 11, 'null' => false],
|
||||
'_constraints' => ['primary' => ['type' => 'primary', 'columns' => ['id']]],
|
||||
];
|
||||
|
||||
/**
|
||||
* Init method
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user