Skip to content

Commit

Permalink
Merge pull request #7 from open-source-contributions/improve_phpunit_…
Browse files Browse the repository at this point in the history
…fixtures

Improve PHPUnit fixtures and upgrade to PHPUnit ^8
  • Loading branch information
zhooravell authored Jun 30, 2020
2 parents c3e2312 + 91980d9 commit 3dbb2e3
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
},
"require-dev": {
"infection/infection": "^0.15.3",
"phpunit/phpunit": "^7.0"
"phpunit/phpunit": "^8.0"
},
"autoload": {
"files": [
Expand Down
2 changes: 1 addition & 1 deletion tests/Factory/ResponseFactoryFromRefundTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public function testSuccessWithError()
/**
* {@inheritdoc}
*/
public function setUp()
protected function setUp(): void
{
$this->response = $this->createMock(ResponseInterface::class);
$this->responseBody = $this->createMock(StreamInterface::class);
Expand Down
2 changes: 1 addition & 1 deletion tests/Factory/ResponseFactoryFromTransferTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public function testSuccessWithError()
/**
* {@inheritdoc}
*/
public function setUp()
protected function setUp(): void
{
$this->response = $this->createMock(ResponseInterface::class);
$this->responseBody = $this->createMock(StreamInterface::class);
Expand Down
2 changes: 1 addition & 1 deletion tests/SkrillClientExecuteOnDemandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ public function testExecuteOnDemandCheckFormParams()
/**
* {@inheritdoc}
*/
public function setUp()
protected function setUp(): void
{
parent::setUp();

Expand Down
2 changes: 1 addition & 1 deletion tests/SkrillClientExecutePayoutTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public function testExecutePayoutFail()
/**
* {@inheritdoc}
*/
public function setUp()
protected function setUp(): void
{
parent::setUp();

Expand Down
2 changes: 1 addition & 1 deletion tests/SkrillClientExecuteRefundTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ public function testExecuteRefundCheckFormParams()
/**
* {@inheritdoc}
*/
public function setUp()
protected function setUp(): void
{
parent::setUp();

Expand Down
2 changes: 1 addition & 1 deletion tests/SkrillClientExecuteTransferTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ public function testExecuteTransferCheckFormParams()
/**
* {@inheritdoc}
*/
public function setUp()
protected function setUp(): void
{
parent::setUp();

Expand Down
2 changes: 1 addition & 1 deletion tests/SkrillClientPrepareOnDemandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ public function testPrepareOnDemandCheckFormParams()
/**
* {@inheritdoc}
*/
public function setUp()
protected function setUp(): void
{
parent::setUp();

Expand Down
2 changes: 1 addition & 1 deletion tests/SkrillClientPreparePayoutTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ public function testPreparePayoutCheckFormParams()
/**
* {@inheritdoc}
*/
public function setUp()
protected function setUp(): void
{
parent::setUp();

Expand Down
2 changes: 1 addition & 1 deletion tests/SkrillClientPrepareRefundTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ public function testPrepareTransferCheckFormParams()
/**
* {@inheritdoc}
*/
public function setUp()
protected function setUp(): void
{
parent::setUp();

Expand Down
2 changes: 1 addition & 1 deletion tests/SkrillClientPrepareSaleTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ public function testPrepareSaleCheckFormParams2()
/**
* {@inheritdoc}
*/
public function setUp()
protected function setUp(): void
{
parent::setUp();

Expand Down
2 changes: 1 addition & 1 deletion tests/SkrillClientPrepareTransferTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ public function testPrepareTransferCheckFormParams()
/**
* {@inheritdoc}
*/
public function setUp()
protected function setUp(): void
{
parent::setUp();

Expand Down
2 changes: 1 addition & 1 deletion tests/SkrillClientViewHistoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ public function testViewHistoryInvalidTime()
/**
* {@inheritdoc}
*/
public function setUp()
protected function setUp(): void
{
parent::setUp();

Expand Down

0 comments on commit 3dbb2e3

Please sign in to comment.