Skip to content

Commit

Permalink
#27500 Code Review adjustments to ConfigurableProduct module
Browse files Browse the repository at this point in the history
  • Loading branch information
lbajsarowicz committed Apr 17, 2020
1 parent 45c87da commit f829ab0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

use Magento\Catalog\Model\Product;
use Magento\Catalog\Model\ResourceModel\Product\Relation as ProductRelation;
use Magento\CatalogInventory\Api\StockRegistryInterface;
use Magento\ConfigurableProduct\Model\AttributeOptionProvider;
use Magento\ConfigurableProduct\Model\ResourceModel\Attribute\OptionProvider;
use Magento\ConfigurableProduct\Model\ResourceModel\Product\Type\Configurable;
Expand Down Expand Up @@ -87,9 +86,6 @@ protected function setUp(): void
$this->relation = $this->getMockBuilder(ProductRelation::class)
->disableOriginalConstructor()
->getMock();
$stockRegistryMock = $this->getMockBuilder(StockRegistryInterface::class)
->disableOriginalConstructor()
->getMockForAbstractClass();
$scopeResolver = $this->getMockBuilder(ScopeResolverInterface::class)
->disableOriginalConstructor()
->getMockForAbstractClass();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
use PHPUnit\Framework\MockObject\MockObject;
use PHPUnit\Framework\TestCase;

/**
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
*/
class FinalPriceBoxTest extends TestCase
{
/**
Expand Down

0 comments on commit f829ab0

Please sign in to comment.