| @@ 43-54 (lines=12) @@ | ||
| 40 | ]); |
|
| 41 | } |
|
| 42 | ||
| 43 | public function testGetData() |
|
| 44 | { |
|
| 45 | $data = $this->request->getData(); |
|
| 46 | ||
| 47 | $this->assertSame($this->purse, $data['ik_shop_id']); |
|
| 48 | $this->assertSame($this->returnUrl, $data['ik_success_url']); |
|
| 49 | $this->assertSame($this->cancelUrl, $data['ik_fail_url']); |
|
| 50 | $this->assertSame($this->notifyUrl, $data['ik_status_url']); |
|
| 51 | $this->assertSame($this->description, $data['ik_payment_desc']); |
|
| 52 | $this->assertSame($this->transactionId, $data['ik_payment_id']); |
|
| 53 | $this->assertSame($this->amount, $data['ik_payment_amount']); |
|
| 54 | } |
|
| 55 | ||
| 56 | public function testSendData() |
|
| 57 | { |
|
| @@ 52-64 (lines=13) @@ | ||
| 49 | ]); |
|
| 50 | } |
|
| 51 | ||
| 52 | public function testGetData() |
|
| 53 | { |
|
| 54 | $data = $this->request->getData(); |
|
| 55 | ||
| 56 | $this->assertSame($this->purse, $data['ik_co_id']); |
|
| 57 | $this->assertSame($this->returnUrl, $data['ik_suc_u']); |
|
| 58 | $this->assertSame($this->cancelUrl, $data['ik_fal_u']); |
|
| 59 | $this->assertSame($this->notifyUrl, $data['ik_ia_u']); |
|
| 60 | $this->assertSame($this->description, $data['ik_desc']); |
|
| 61 | $this->assertSame($this->transactionId, $data['ik_pm_no']); |
|
| 62 | $this->assertSame($this->amount, $data['ik_am']); |
|
| 63 | $this->assertSame($this->currency, $data['ik_cur']); |
|
| 64 | } |
|
| 65 | ||
| 66 | public function testSendData() |
|
| 67 | { |
|