芝麻web文件管理V1.00
编辑当前文件:/home/royashxg/bit-alphas-ltd.com/user/project/vendor/razorpay/razorpay/tests/FundTest.php
api->fundAccount->create(array('customer_id'=>$this->customerId,'account_type'=>'bank_account','bank_account'=>array('name'=>'Gaurav Kumar', 'account_number'=>'11214311215411', 'ifsc'=>'HDFC0000053'))); $this->assertTrue(is_array($data->toArray())); $this->assertTrue(in_array('customer_id',$data->toArray())); } /** * Fetch all fund accounts */ public function testCreateOrder() { $data = $this->api->fundAccount->all(array('customer_id'=>$this->customerId)); $this->assertTrue(is_array($data->toArray())); $this->assertTrue(is_array($data['items'])); } }