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 12
12
13
13
class ProductTest extends \PHPUnit \Framework \TestCase
14
14
{
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
-
29
15
/**
30
16
* Check that no children identities are added to the parent product in frontend area
31
17
*
You can’t perform that action at this time.
0 commit comments