Skip to content

Commit 38413e3

Browse files
committed
updated tests
1 parent f4be9cb commit 38413e3

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
lines changed

composer.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,15 @@
3333
"omnipay/common": "~3.0"
3434
},
3535
"require-dev": {
36-
"omnipay/tests": "~3.0",
36+
"omnipay/tests": "~3.0|^4.0",
3737
"squizlabs/php_codesniffer": "3.*"
3838
},
3939
"scripts": {
4040
"test": "phpunit"
41+
},
42+
"config": {
43+
"allow-plugins": {
44+
"php-http/discovery": false
45+
}
4146
}
4247
}

tests/CardPay/GatewayTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class GatewayTest extends GatewayTestCase
1111
*/
1212
protected $gateway;
1313

14-
public function setUp()
14+
protected function setUp(): void
1515
{
1616
parent::setUp();
1717
$this->gateway = new Gateway($this->getHttpClient(), $this->getHttpRequest());

tests/ComfortPay/GatewayTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class GatewayTest extends GatewayTestCase
1111
*/
1212
protected $gateway;
1313

14-
public function setUp()
14+
protected function setUp(): void
1515
{
1616
parent::setUp();
1717
$this->gateway = new Gateway($this->getHttpClient(), $this->getHttpRequest());

tests/TatraPay/GatewayTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class GatewayTest extends GatewayTestCase
1111
*/
1212
protected $gateway;
1313

14-
public function setUp()
14+
protected function setUp(): void
1515
{
1616
parent::setUp();
1717
$this->gateway = new Gateway($this->getHttpClient(), $this->getHttpRequest());

0 commit comments

Comments
 (0)