コード例 #1
0
ファイル: ApiTest.php プロジェクト: sneek/gocardless-pro
 /** @depends test_it_can_get_a_single_payment */
 function test_it_can_cancel_payments(Payment $payment)
 {
     $payment = $this->api->cancelPayment($payment->getId());
     $this->assertTrue($payment->isCancelled());
     return $payment;
 }