Skip to content
This repository has been archived by the owner on Mar 29, 2022. It is now read-only.

Commit

Permalink
[bugfix] (PHPLIB-275) Refactor tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
sixer1182 committed Nov 26, 2019
1 parent 90d646b commit 46f15b0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/unit/Resources/PaymentCancelTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,8 @@ public function allowedErrorCodesDuringChargeCancel(): array
{
return [
'already cancelled' => [ApiResponseCodes::API_ERROR_ALREADY_CANCELLED, false],
'already chargedBack' => [ApiResponseCodes::API_ERROR_ALREADY_CHARGED, false],
'already charged' => [ApiResponseCodes::API_ERROR_ALREADY_CHARGED, false],
'already chargedBack' => [ApiResponseCodes::API_ERROR_ALREADY_CHARGED_BACK, false],
'other' => [ApiResponseCodes::API_ERROR_BASKET_ITEM_IMAGE_INVALID_URL, true]
];
}
Expand Down

0 comments on commit 46f15b0

Please sign in to comment.