File tree Expand file tree Collapse file tree 2 files changed +31
-1
lines changed Expand file tree Collapse file tree 2 files changed +31
-1
lines changed Original file line number Diff line number Diff line change 4646 "php" : " ^7.2||^8"
4747 },
4848 "require-dev" : {
49- "omnipay/tests" : " ^4.1 " ,
49+ "omnipay/tests" : " ^4.2 " ,
5050 "squizlabs/php_codesniffer" : " ^3.5" ,
5151 "http-interop/http-factory-guzzle" : " ^1.1"
5252 },
Original file line number Diff line number Diff line change 1+ <?php
2+
3+ namespace Omnipay \WindcaveHpp ;
4+
5+ use Omnipay \Tests \GatewayTestCase ;
6+
7+ class GatewayTest extends GatewayTestCase
8+ {
9+ /** @var array */
10+ protected $ options ;
11+
12+ public function setUp (): void
13+ {
14+ parent ::setUp ();
15+
16+ $ this ->gateway = new Gateway ($ this ->getHttpClient (), $ this ->getHttpRequest ());
17+
18+ $ this ->options = [
19+ 'amount ' => '1.45 ' ,
20+ 'apiUsername ' => 'Test_Merchant ' ,
21+ 'apiKey ' => 'ABCDEF1234567890ABCDEF1234567890ABCDEF1234567890ABCDEF1234567890 ' ,
22+ 'currency ' => 'NZD ' ,
23+ 'cancelUrl ' => 'https://www.example.com/cancel ' ,
24+ 'notifyUrl ' => 'https://www.example.com/notify ' ,
25+ 'returnUrl ' => 'https://www.example.com/return ' ,
26+ 'transactionId ' => '123abc ' ,
27+ 'testMode ' => true ,
28+ ];
29+ }
30+ }
You can’t perform that action at this time.
0 commit comments