forked from magento/magento2
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request magento#3883 from magento-arcticfoxes/pr
[2.3.1-release] Bug Fixes
- Loading branch information
Showing
2 changed files
with
45 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
43 changes: 43 additions & 0 deletions
43
dev/tests/integration/testsuite/Magento/Braintree/Controller/Paypal/ReviewTest.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
<?php | ||
/** | ||
* Copyright © Magento, Inc. All rights reserved. | ||
* See COPYING.txt for license details. | ||
*/ | ||
declare(strict_types=1); | ||
|
||
namespace Magento\Braintree\Controller\Paypal; | ||
|
||
use Magento\Framework\App\Action\HttpGetActionInterface; | ||
use Magento\Framework\App\Action\HttpPostActionInterface; | ||
use Magento\TestFramework\TestCase\AbstractController; | ||
|
||
/** | ||
* ReviewTest | ||
*/ | ||
class ReviewTest extends AbstractController | ||
{ | ||
/** | ||
* @var Review | ||
*/ | ||
private $controller; | ||
|
||
/** | ||
* @inheritdoc | ||
*/ | ||
protected function setUp() | ||
{ | ||
parent::setUp(); | ||
|
||
$this->controller = $this->_objectManager->create(Review::class); | ||
} | ||
|
||
/** | ||
* Test controller implements correct interfaces | ||
* | ||
*/ | ||
public function testInterfaceImplementation() | ||
{ | ||
$this->assertInstanceOf(HttpGetActionInterface::class, $this->controller); | ||
$this->assertInstanceOf(HttpPostActionInterface::class, $this->controller); | ||
} | ||
} |