Skip to content

Commit 8f067e0

Browse files
committed
security-package/issues/110: Cover ReCaptchaSendFriend module with integration tests
1 parent f4ac73e commit 8f067e0

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

ReCaptchaSendFriend/Test/Integration/SendFriendFormTest.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
namespace Magento\ReCaptchaSendFriend\Test\Integration;
99

10-
use Magento\Catalog\Api\ProductRepositoryInterface;
1110
use Magento\Framework\App\Request\Http;
1211
use Magento\Framework\Data\Form\FormKey;
1312
use Magento\Framework\Exception\InputException;
@@ -38,11 +37,6 @@ class SendFriendFormTest extends AbstractController
3837
*/
3938
private $formKey;
4039

41-
/**
42-
* @var ProductRepositoryInterface
43-
*/
44-
private $productRepository;
45-
4640
/**
4741
* @var TransportBuilderMock
4842
*/
@@ -61,8 +55,6 @@ protected function setUp()
6155
parent::setUp();
6256
$this->mutableScopeConfig = $this->_objectManager->get(MutableScopeConfig::class);
6357
$this->formKey = $this->_objectManager->get(FormKey::class);
64-
65-
$this->productRepository = $this->_objectManager->get(ProductRepositoryInterface::class);
6658
$this->transportMock = $this->_objectManager->get(TransportBuilderMock::class);
6759

6860
$this->captchaValidationResultMock = $this->createMock(ValidationResult::class);

0 commit comments

Comments
 (0)