Skip to content

Commit

Permalink
updated tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaj committed Oct 21, 2024
1 parent f4be9cb commit 38413e3
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
7 changes: 6 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,15 @@
"omnipay/common": "~3.0"
},
"require-dev": {
"omnipay/tests": "~3.0",
"omnipay/tests": "~3.0|^4.0",
"squizlabs/php_codesniffer": "3.*"
},
"scripts": {
"test": "phpunit"
},
"config": {
"allow-plugins": {
"php-http/discovery": false
}
}
}
2 changes: 1 addition & 1 deletion tests/CardPay/GatewayTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class GatewayTest extends GatewayTestCase
*/
protected $gateway;

public function setUp()
protected function setUp(): void
{
parent::setUp();
$this->gateway = new Gateway($this->getHttpClient(), $this->getHttpRequest());
Expand Down
2 changes: 1 addition & 1 deletion tests/ComfortPay/GatewayTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class GatewayTest extends GatewayTestCase
*/
protected $gateway;

public function setUp()
protected function setUp(): void
{
parent::setUp();
$this->gateway = new Gateway($this->getHttpClient(), $this->getHttpRequest());
Expand Down
2 changes: 1 addition & 1 deletion tests/TatraPay/GatewayTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class GatewayTest extends GatewayTestCase
*/
protected $gateway;

public function setUp()
protected function setUp(): void
{
parent::setUp();
$this->gateway = new Gateway($this->getHttpClient(), $this->getHttpRequest());
Expand Down

0 comments on commit 38413e3

Please sign in to comment.