from main app code base

This commit is contained in:
2025-03-27 01:11:41 -07:00
parent b17634c08a
commit d9a59fb82b
18 changed files with 131 additions and 1034 deletions

View File

@@ -10,22 +10,6 @@ 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
*

View File

@@ -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
*