| @@ 56-67 (lines=12) @@ | ||
| 53 | ]); |
|
| 54 | } |
|
| 55 | ||
| 56 | public function testGetData() |
|
| 57 | { |
|
| 58 | $data = $this->request->getData(); |
|
| 59 | $stub = $this->stub; |
|
| 60 | ||
| 61 | $this->assertSame($stub->purse, $data['ik_co_id']); |
|
| 62 | $this->assertSame($stub->transactionId, $data['ik_trn_id']); |
|
| 63 | $this->assertSame($stub->description, $data['ik_desc']); |
|
| 64 | $this->assertSame($stub->amount, $data['ik_am']); |
|
| 65 | $this->assertSame($stub->currency, $data['ik_cur']); |
|
| 66 | $this->assertSame($stub->time, $data['ik_inv_prc']); |
|
| 67 | } |
|
| 68 | ||
| 69 | public function testSendData() |
|
| 70 | { |
|
| @@ 53-63 (lines=11) @@ | ||
| 50 | ]); |
|
| 51 | } |
|
| 52 | ||
| 53 | public function testGetData() |
|
| 54 | { |
|
| 55 | $stub = $this->stub; |
|
| 56 | $data = $this->request->getData(); |
|
| 57 | ||
| 58 | $this->assertSame($stub->purse, $data['ik_shop_id']); |
|
| 59 | $this->assertSame($stub->transactionId, $data['ik_payment_id']); |
|
| 60 | $this->assertSame($stub->description, $data['ik_payment_desc']); |
|
| 61 | $this->assertSame($stub->amount, $data['ik_payment_amount']); |
|
| 62 | $this->assertSame($stub->time, $data['ik_payment_timestamp']); |
|
| 63 | } |
|
| 64 | ||
| 65 | public function testSendData() |
|
| 66 | { |
|