File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed
dev/tests/integration/testsuite/Magento/ConfigurableProduct/Model Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change 1212
1313class ProductTest extends \PHPUnit \Framework \TestCase
1414{
15- /**
16- * @magentoDataFixture Magento/ConfigurableProduct/_files/product_configurable.php
17- */
18- public function testGetIdentities ()
19- {
20- $ productRepository = Bootstrap::getObjectManager ()->get (ProductRepositoryInterface::class);
21- $ confProduct = $ productRepository ->get ('configurable ' );
22- $ simple10Product = $ productRepository ->get ('simple_10 ' );
23- $ simple20Product = $ productRepository ->get ('simple_20 ' );
24-
25- $ this ->assertNotEmpty (array_diff ($ confProduct ->getIdentities (), $ simple10Product ->getIdentities ()));
26- $ this ->assertNotEmpty (array_diff ($ confProduct ->getIdentities (), $ simple20Product ->getIdentities ()));
27- }
28-
2915 /**
3016 * Check that no children identities are added to the parent product in frontend area
3117 *
You can’t perform that action at this time.
0 commit comments