Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | private function createNotification() |
||
14 | { |
||
15 | $this->mockHttpSession($this->body_notification_preference); |
||
16 | $notification = $this->moip->notifications()->addEvent('ORDER.*') |
||
17 | ->addEvent('PAYMENT.AUTHORIZED') |
||
18 | ->setTarget('http://requestb.in/1dhjesw1') |
||
19 | ->create(); |
||
20 | |||
21 | return $notification; |
||
22 | } |
||
23 | |||
37 |