7 require
__DIR__ .
'/../../Store/_files/second_website_with_two_stores.php';
16 ->setAttributeSetId(4)
18 ->setName(
'Simple Product on second website')
21 ->setDescription(
'Description with <b>html tag</b>')
22 ->setVisibility(\
Magento\Catalog\Model\Product\Visibility::VISIBILITY_BOTH)
23 ->setStatus(\
Magento\Catalog\Model\Product\Attribute\Source\Status::STATUS_ENABLED)
25 ->setStockData([
'use_config_manage_stock' => 1,
'qty' => 100,
'is_qty_decimal' => 0,
'is_in_stock' => 1])
31 ->setAttributeSetId(4)
33 ->setName(
'Simple Product')
36 ->setDescription(
'Description with <b>html tag</b>')
37 ->setVisibility(\
Magento\Catalog\Model\Product\Visibility::VISIBILITY_BOTH)
38 ->setStatus(\
Magento\Catalog\Model\Product\Attribute\Source\Status::STATUS_ENABLED)
40 ->setStockData([
'use_config_manage_stock' => 1,
'qty' => 100,
'is_qty_decimal' => 0,
'is_in_stock' => 1])
defined('TESTS_BP')||define('TESTS_BP' __DIR__
static getObjectManager()