@@ 65-75 (lines=11) @@ | ||
62 | ]); |
|
63 | } |
|
64 | ||
65 | public function testGetData() |
|
66 | { |
|
67 | $data = $this->request->getData(); |
|
68 | ||
69 | $this->assertSame($this->purse, $data['business']); |
|
70 | $this->assertSame($this->description, $data['item_name']); |
|
71 | $this->assertSame($this->transactionId, $data['item_number']); |
|
72 | $this->assertSame($this->amount, $data['payment_gross']); |
|
73 | $this->assertSame($this->time, $data['payment_date']); |
|
74 | $this->assertSame($this->payer, $data['payer_email']); |
|
75 | } |
|
76 | ||
77 | public function testSendData() |
|
78 | { |
@@ 53-64 (lines=12) @@ | ||
50 | ]); |
|
51 | } |
|
52 | ||
53 | public function testGetData() |
|
54 | { |
|
55 | $data = $this->request->getData(); |
|
56 | ||
57 | $this->assertSame($this->purse, $data['business']); |
|
58 | $this->assertSame($this->returnUrl, $data['return']); |
|
59 | $this->assertSame($this->cancelUrl, $data['cancel_return']); |
|
60 | $this->assertSame($this->notifyUrl, $data['notify_url']); |
|
61 | $this->assertSame($this->description, $data['item_name']); |
|
62 | $this->assertSame($this->transactionId, $data['item_number']); |
|
63 | $this->assertSame($this->sum, $data['amount']); |
|
64 | } |
|
65 | ||
66 | public function testSendData() |
|
67 | { |