Skip to content

Commit

Permalink
MAGETWO-37571: [TechDebt] Covered php code after new checkout impleme…
Browse files Browse the repository at this point in the history
…ntation by unit tests
  • Loading branch information
slavvka committed May 20, 2015
1 parent b12f812 commit b72c45d
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions app/code/Magento/Payment/Model/IframeConfigProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,6 @@ abstract class IframeConfigProvider implements ConfigProviderInterface
*/
protected $logger;

/**
* @var PaymentHelper
*/
protected $paymentHelper;

/**
* Payment method code
*
Expand Down Expand Up @@ -70,8 +65,7 @@ public function __construct(
$this->request = $request;
$this->urlBuilder = $urlBuilder;
$this->logger = $logger;
$this->paymentHelper = $paymentHelper;
$this->method = $this->paymentHelper->getMethodInstance($this->methodCode);
$this->method = $paymentHelper->getMethodInstance($this->methodCode);
}

/**
Expand Down

0 comments on commit b72c45d

Please sign in to comment.