Skip to content

Commit

Permalink
Merge pull request #90 from Adyen/bug/fix-tests
Browse files Browse the repository at this point in the history
fix tests
  • Loading branch information
rikterbeek authored Nov 29, 2018
2 parents 84cadc3 + e283513 commit 0d8f10f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/PayoutThirdPartyTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public function testStoreDetailAndSubmitPayoutThirdPartyMissingReference()

// check if exception is correct
$this->assertEquals('Adyen\AdyenException', get_class($e));
$this->assertEquals('Missing the following fields: reference', $e->getMessage());
$this->assertEquals('Required field \'reference\' is null', $e->getMessage());

}

Expand Down Expand Up @@ -314,7 +314,7 @@ public function testConfirmPayoutThirdPartyInvalidReference()

// check if exception is correct
$this->assertEquals('Adyen\AdyenException', get_class($e));
$this->assertEquals('Missing the following values: originalReference', $e->getMessage());
$this->assertEquals('Invalid Request: Original pspReference is invalid for this environment!', $e->getMessage());
}

public function testDeclinePayoutThirdPartySuccess()
Expand Down Expand Up @@ -373,7 +373,7 @@ public function testDeclinePayoutThirdPartyInvalidReference()

// check if exception is correct
$this->assertEquals('Adyen\AdyenException', get_class($e));
$this->assertEquals('Missing the following values: originalReference', $e->getMessage());
$this->assertEquals('Invalid Request: Original pspReference is invalid for this environment!', $e->getMessage());
}

}

0 comments on commit 0d8f10f

Please sign in to comment.