Skip to content

Commit

Permalink
false
Browse files Browse the repository at this point in the history
  • Loading branch information
recca0120 committed Sep 9, 2024
1 parent 4b6d613 commit ce4c031
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .phpunit.result.cache
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"version":1,"defects":{"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testCompletePurchaseParameters":4,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testCompletePurchaseParameters":4,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testPayout":4,"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testPurchase":4,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testPurchase":4,"Omnipay\\Aerotow\\Tests\\Message\\PurchaseRequestTest::testAtmGetData":4,"Omnipay\\Aerotow\\Tests\\Message\\PurchaseRequestTest::testAtmSend":1,"Omnipay\\Aerotow\\Tests\\Message\\PurchaseRequestTest::testCvsGetData":4,"Omnipay\\Aerotow\\Tests\\Message\\PurchaseRequestTest::testCvsSend":1,"Omnipay\\Aerotow\\Tests\\Message\\GetPaymentInfoRequestTest::testCvsSend":3},"times":{"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testPurchase":0.006,"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testCompletePurchase":0,"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testPayout":0,"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testGetNameNotEmpty":0,"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testGetShortNameNotEmpty":0,"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testGetDefaultParametersReturnsArray":0,"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testDefaultParametersHaveMatchingMethods":0,"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testTestMode":0,"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testCurrency":0,"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testSupportsAuthorize":0,"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testSupportsCompleteAuthorize":0,"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testSupportsCapture":0,"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testSupportsPurchase":0,"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testSupportsCompletePurchase":0,"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testSupportsRefund":0,"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testSupportsVoid":0,"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testSupportsCreateCard":0,"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testSupportsDeleteCard":0,"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testSupportsUpdateCard":0,"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testAuthorizeParameters":0,"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testCompleteAuthorizeParameters":0,"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testCaptureParameters":0,"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testPurchaseParameters":0,"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testCompletePurchaseParameters":0,"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testRefundParameters":0,"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testVoidParameters":0,"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testCreateCardParameters":0,"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testDeleteCardParameters":0,"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testUpdateCardParameters":0,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testPurchase":0,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testCompletePurchase":0,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testPayout":0.001,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testGetNameNotEmpty":0,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testGetShortNameNotEmpty":0,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testGetDefaultParametersReturnsArray":0,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testDefaultParametersHaveMatchingMethods":0,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testTestMode":0,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testCurrency":0,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testSupportsAuthorize":0,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testSupportsCompleteAuthorize":0,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testSupportsCapture":0,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testSupportsPurchase":0,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testSupportsCompletePurchase":0,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testSupportsRefund":0,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testSupportsVoid":0,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testSupportsCreateCard":0,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testSupportsDeleteCard":0,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testSupportsUpdateCard":0,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testAuthorizeParameters":0,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testCompleteAuthorizeParameters":0,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testCaptureParameters":0,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testPurchaseParameters":0,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testCompletePurchaseParameters":0,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testRefundParameters":0,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testVoidParameters":0,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testCreateCardParameters":0,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testDeleteCardParameters":0,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testUpdateCardParameters":0,"Omnipay\\Aerotow\\Tests\\Message\\AcceptNotificationRequestTest::testAtmGetData":0,"Omnipay\\Aerotow\\Tests\\Message\\AcceptNotificationRequestTest::testAtmSend":0,"Omnipay\\Aerotow\\Tests\\Message\\AcceptNotificationRequestTest::testCvsGetData":0,"Omnipay\\Aerotow\\Tests\\Message\\AcceptNotificationRequestTest::testCvsSend":0,"Omnipay\\Aerotow\\Tests\\Message\\CompletePurchaseRequestTest::testAtmGetData":0,"Omnipay\\Aerotow\\Tests\\Message\\CompletePurchaseRequestTest::testAtmSend":0,"Omnipay\\Aerotow\\Tests\\Message\\CompletePurchaseRequestTest::testCvsGetData":0,"Omnipay\\Aerotow\\Tests\\Message\\CompletePurchaseRequestTest::testCvsSend":0,"Omnipay\\Aerotow\\Tests\\Message\\PayoutRequestTest::testAtmGetData":0,"Omnipay\\Aerotow\\Tests\\Message\\PayoutRequestTest::testAtmSend":0,"Omnipay\\Aerotow\\Tests\\Message\\PayoutRequestTest::testCvsGetData":0,"Omnipay\\Aerotow\\Tests\\Message\\PayoutRequestTest::testCvsSend":0,"Omnipay\\Aerotow\\Tests\\Message\\PurchaseRequestTest::testAtmGetData":0,"Omnipay\\Aerotow\\Tests\\Message\\PurchaseRequestTest::testAtmSend":0,"Omnipay\\Aerotow\\Tests\\Message\\PurchaseRequestTest::testCvsGetData":0,"Omnipay\\Aerotow\\Tests\\Message\\PurchaseRequestTest::testCvsSend":0,"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testReceiveTransactionInfo":0,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testReceiveTransactionInfo":0,"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testGetPaymentInfo":0,"Omnipay\\Aerotow\\Tests\\Message\\GetPaymentInfoRequestTest::testAtmGetData":0,"Omnipay\\Aerotow\\Tests\\Message\\GetPaymentInfoRequestTest::testAtmSend":0,"Omnipay\\Aerotow\\Tests\\Message\\GetPaymentInfoRequestTest::testCvsGetData":0,"Omnipay\\Aerotow\\Tests\\Message\\GetPaymentInfoRequestTest::testCvsSend":0}}
{"version":1,"defects":{"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testCompletePurchaseParameters":4,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testCompletePurchaseParameters":4,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testPayout":4,"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testPurchase":4,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testPurchase":4,"Omnipay\\Aerotow\\Tests\\Message\\PurchaseRequestTest::testAtmGetData":4,"Omnipay\\Aerotow\\Tests\\Message\\PurchaseRequestTest::testAtmSend":1,"Omnipay\\Aerotow\\Tests\\Message\\PurchaseRequestTest::testCvsGetData":4,"Omnipay\\Aerotow\\Tests\\Message\\PurchaseRequestTest::testCvsSend":1,"Omnipay\\Aerotow\\Tests\\Message\\GetPaymentInfoRequestTest::testCvsSend":3,"Omnipay\\Aerotow\\Tests\\Message\\GetPaymentInfoRequestTest::testAtmSend":3},"times":{"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testPurchase":0.012,"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testCompletePurchase":0,"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testPayout":0,"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testGetNameNotEmpty":0.001,"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testGetShortNameNotEmpty":0,"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testGetDefaultParametersReturnsArray":0,"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testDefaultParametersHaveMatchingMethods":0,"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testTestMode":0,"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testCurrency":0,"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testSupportsAuthorize":0,"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testSupportsCompleteAuthorize":0,"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testSupportsCapture":0,"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testSupportsPurchase":0,"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testSupportsCompletePurchase":0,"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testSupportsRefund":0,"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testSupportsVoid":0,"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testSupportsCreateCard":0,"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testSupportsDeleteCard":0,"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testSupportsUpdateCard":0,"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testAuthorizeParameters":0,"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testCompleteAuthorizeParameters":0,"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testCaptureParameters":0,"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testPurchaseParameters":0,"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testCompletePurchaseParameters":0,"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testRefundParameters":0,"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testVoidParameters":0,"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testCreateCardParameters":0,"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testDeleteCardParameters":0,"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testUpdateCardParameters":0,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testPurchase":0,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testCompletePurchase":0,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testPayout":0.001,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testGetNameNotEmpty":0,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testGetShortNameNotEmpty":0,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testGetDefaultParametersReturnsArray":0,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testDefaultParametersHaveMatchingMethods":0,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testTestMode":0,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testCurrency":0,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testSupportsAuthorize":0,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testSupportsCompleteAuthorize":0,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testSupportsCapture":0,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testSupportsPurchase":0,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testSupportsCompletePurchase":0,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testSupportsRefund":0,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testSupportsVoid":0,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testSupportsCreateCard":0,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testSupportsDeleteCard":0,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testSupportsUpdateCard":0,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testAuthorizeParameters":0,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testCompleteAuthorizeParameters":0,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testCaptureParameters":0,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testPurchaseParameters":0,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testCompletePurchaseParameters":0,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testRefundParameters":0,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testVoidParameters":0,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testCreateCardParameters":0,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testDeleteCardParameters":0,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testUpdateCardParameters":0,"Omnipay\\Aerotow\\Tests\\Message\\AcceptNotificationRequestTest::testAtmGetData":0,"Omnipay\\Aerotow\\Tests\\Message\\AcceptNotificationRequestTest::testAtmSend":0,"Omnipay\\Aerotow\\Tests\\Message\\AcceptNotificationRequestTest::testCvsGetData":0,"Omnipay\\Aerotow\\Tests\\Message\\AcceptNotificationRequestTest::testCvsSend":0,"Omnipay\\Aerotow\\Tests\\Message\\CompletePurchaseRequestTest::testAtmGetData":0,"Omnipay\\Aerotow\\Tests\\Message\\CompletePurchaseRequestTest::testAtmSend":0,"Omnipay\\Aerotow\\Tests\\Message\\CompletePurchaseRequestTest::testCvsGetData":0,"Omnipay\\Aerotow\\Tests\\Message\\CompletePurchaseRequestTest::testCvsSend":0,"Omnipay\\Aerotow\\Tests\\Message\\PayoutRequestTest::testAtmGetData":0,"Omnipay\\Aerotow\\Tests\\Message\\PayoutRequestTest::testAtmSend":0,"Omnipay\\Aerotow\\Tests\\Message\\PayoutRequestTest::testCvsGetData":0,"Omnipay\\Aerotow\\Tests\\Message\\PayoutRequestTest::testCvsSend":0,"Omnipay\\Aerotow\\Tests\\Message\\PurchaseRequestTest::testAtmGetData":0.001,"Omnipay\\Aerotow\\Tests\\Message\\PurchaseRequestTest::testAtmSend":0,"Omnipay\\Aerotow\\Tests\\Message\\PurchaseRequestTest::testCvsGetData":0,"Omnipay\\Aerotow\\Tests\\Message\\PurchaseRequestTest::testCvsSend":0,"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testReceiveTransactionInfo":0,"Omnipay\\Aerotow\\Tests\\CvsGatewayTest::testReceiveTransactionInfo":0,"Omnipay\\Aerotow\\Tests\\AtmGatewayTest::testGetPaymentInfo":0,"Omnipay\\Aerotow\\Tests\\Message\\GetPaymentInfoRequestTest::testAtmGetData":0.001,"Omnipay\\Aerotow\\Tests\\Message\\GetPaymentInfoRequestTest::testAtmSend":0,"Omnipay\\Aerotow\\Tests\\Message\\GetPaymentInfoRequestTest::testCvsGetData":0,"Omnipay\\Aerotow\\Tests\\Message\\GetPaymentInfoRequestTest::testCvsSend":0}}
4 changes: 2 additions & 2 deletions src/Message/GetPaymentInfoResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class GetPaymentInfoResponse extends AbstractResponse implements RedirectRespons
*/
public function isSuccessful()
{
return array_key_exists('Ordernum', $this->data);
return false;
}

/**
Expand Down Expand Up @@ -44,6 +44,6 @@ public function getRedirectUrl()

public function getReply()
{
return $this->isSuccessful() ? 'OK' : 'FAIL';
return 'OK';
}
}
4 changes: 2 additions & 2 deletions tests/Message/GetPaymentInfoRequestTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public function testAtmSend($results)
$response = $results[0];
$options = $results[1];

self::assertTrue($response->isSuccessful());
self::assertFalse($response->isSuccessful());
self::assertFalse($response->isRedirect());
self::assertEquals($options['Ordernum'], $response->getTransactionId());
self::assertEquals($options, $response->getData());
Expand Down Expand Up @@ -64,7 +64,7 @@ public function testCvsSend($results)
$response = $results[0];
$options = $results[1];

self::assertTrue($response->isSuccessful());
self::assertFalse($response->isSuccessful());
self::assertTrue($response->isRedirect());
self::assertEquals($options['Ordernum'], $response->getTransactionId());
self::assertEquals($options, $response->getData());
Expand Down

0 comments on commit ce4c031

Please sign in to comment.