We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 732c99f commit c78ab2bCopy full SHA for c78ab2b
src/TestCase.php
@@ -3,6 +3,7 @@
3
namespace Omnipay\Tests;
4
5
use Mockery as m;
6
+use Mockery\Adapter\Phpunit\MockeryPHPUnitIntegration;
7
use Omnipay\Common\Http\Client;
8
use Omnipay\Common\Http\ClientInterface;
9
use Omnipay\Common\Message\RequestInterface;
@@ -19,6 +20,8 @@
19
20
*/
21
abstract class TestCase extends PHPUnitTestCase
22
{
23
+ use MockeryPHPUnitIntegration;
24
+
25
/** @var RequestInterface */
26
private $mockRequest;
27
@@ -170,8 +173,4 @@ public function getHttpRequest()
170
173
171
174
return $this->httpRequest;
172
175
}
-
- public function tearDown() {
- \Mockery::close();
176
- }
177
0 commit comments