variant options coming along - add test passing
This commit is contained in:
@@ -19,8 +19,8 @@ class ProductCategoryVariantOptionsFixture extends TestFixture
|
||||
{
|
||||
$this->records = [
|
||||
[
|
||||
'id' => '5a386e9f-6e7a-4ae7-9360-c8e529f78d93',
|
||||
'variant_value' => 'Color',
|
||||
'id' => '5a386e9f-6e7a-4ae7-9360-c8e529f78d23',
|
||||
'variant_value' => 'Blue',
|
||||
'variant_label' => null,
|
||||
'product_category_variant_id' => '5a386e9f-6e7a-4ae7-9360-c8e529f78d93',
|
||||
'created' => '2025-07-04 12:00:00',
|
||||
@@ -28,8 +28,8 @@ class ProductCategoryVariantOptionsFixture extends TestFixture
|
||||
'enabled' => 1,
|
||||
],
|
||||
[
|
||||
'id' => '5a386e9f-6e7a-4ae7-9360-c8e529f78d94',
|
||||
'variant_value' => 'Size',
|
||||
'id' => '5a386e9f-6e7a-4ae7-9360-c8e529f78d24',
|
||||
'variant_value' => 'Red',
|
||||
'variant_label' => null,
|
||||
'product_category_variant_id' => '5a386e9f-6e7a-4ae7-9360-c8e529f78d93',
|
||||
'created' => '2025-07-04 12:00:00',
|
||||
|
||||
@@ -21,18 +21,17 @@ class ProductCategoryVariantsFixture extends TestFixture
|
||||
[
|
||||
'id' => '5a386e9f-6e7a-4ae7-9360-c8e529f78d93',
|
||||
'name' => 'Color',
|
||||
'product_category_id' => '6d223283-361b-4f9f-a7f1-c97aa0ca4c23',
|
||||
'product_category_id' => 'db4b4273-eddc-46d4-93c8-45cf7c6e058e',
|
||||
'product_id' => null,
|
||||
'enabled' => 1,
|
||||
],
|
||||
[
|
||||
'id' => '5a386e9f-6e7a-4ae7-9360-c8e529f78d94',
|
||||
'name' => 'Color',
|
||||
'product_category_id' => '6d223283-361b-4f9f-a7f1-c97aa0ca4c23',
|
||||
'product_category_id' => 'db4b4273-eddc-46d4-93c8-45cf7c6e058e',
|
||||
'product_id' => 'cfc98a9a-29b2-44c8-b587-8156adc05317',
|
||||
'enabled' => 1,
|
||||
],
|
||||
|
||||
];
|
||||
parent::init();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user