diff --git a/tests/functional/Admin/Catalog/ProductCest.php b/tests/functional/Admin/Catalog/ProductCest.php index 7d0642521..7faf0b17a 100644 --- a/tests/functional/Admin/Catalog/ProductCest.php +++ b/tests/functional/Admin/Catalog/ProductCest.php @@ -97,7 +97,7 @@ class ProductCest 'code' => 'default', ]); - $I->selectOption('attribute_family_id', $attributeFamily->id); + $I->selectOption('attribute_family_id', (string) $attributeFamily->id); $sku = $this->faker->randomNumber(3); @@ -111,7 +111,7 @@ class ProductCest $I->fillField('name', $productTitle); $I->fillField('url_key', $productUrlKey); - $I->selectOption($this->attributeBrand->code, $this->attributeBrandDefaultOption->id); + $I->selectOption($this->attributeBrand->code, (string) $this->attributeBrandDefaultOption->id); $I->fillField('price', $this->faker->randomFloat(2)); $I->fillField('weight', $this->faker->randomDigit); $I->fillField('short_description', $this->faker->paragraph(1, true));