File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
dev/tests/integration/testsuite/Magento/Catalog/_files Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change 77
88use Magento \Catalog \Api \Data \ProductAttributeMediaGalleryEntryInterface ;
99use Magento \Catalog \Api \Data \ProductInterfaceFactory ;
10- use Magento \Catalog \Api \ProductRepositoryInterface ;
1110use Magento \Catalog \Model \Product \Attribute \Source \Status ;
1211use Magento \Catalog \Model \Product \Type ;
1312use Magento \Catalog \Model \Product \Visibility ;
2827$ websiteRepository = $ objectManager ->get (WebsiteRepositoryInterface::class);
2928$ baseWebsiteId = (int )$ websiteRepository ->get ('base ' )->getId ();
3029$ product = $ productFactory ->create ();
31- /** @var ProductRepositoryInterface $productRepository */
3230$ product ->setTypeId (Type::TYPE_SIMPLE )
3331 ->setAttributeSetId ($ product ->getDefaultAttributeSetId ())
3432 ->setWebsiteIds ([$ baseWebsiteId ])
35- ->setName ('Simple Product2 ' )
33+ ->setName ('Simple product with disabled image ' )
3634 ->setSku ('simple_with_disabled_img ' )
3735 ->setPrice (10 )
3836 ->setMetaTitle ('meta title2 ' )
You can’t perform that action at this time.
0 commit comments