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