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 a2cc838 commit dd456acCopy full SHA for dd456ac
tests/Omnipay/TestCase.php
@@ -19,7 +19,6 @@
19
use Guzzle\Http\Message\Response;
20
use Guzzle\Http\Message\RequestInterface as GuzzleRequestInterface;
21
use Guzzle\Plugin\Mock\MockPlugin;
22
-use Omnipay\Common\CreditCard;
23
use Symfony\Component\HttpFoundation\Request as HttpRequest;
24
25
/**
@@ -117,14 +116,14 @@ public function setMockHttpResponse($paths)
117
116
*/
118
public function getValidCard()
119
{
120
- return new CreditCard(array(
+ return array(
121
'firstName' => 'Example',
122
'lastName' => 'User',
123
'number' => '4111111111111111',
124
'expiryMonth' => '12',
125
'expiryYear' => '2020',
126
'cvv' => '123',
127
- ));
+ );
128
}
129
130
public function getMockRequest()
0 commit comments