コード例 #1
0
ファイル: ConfigurableTest.php プロジェクト: nja78/magento2
 public function testSetGetUsedProductAttributeIds()
 {
     $testConfigurable = $this->_getAttributeByCode('test_configurable');
     $actual = $this->_model->getUsedProductAttributeIds($this->_product);
     $expected = [$testConfigurable->getId()];
     $this->assertEquals($expected, $actual);
 }