@@ -63,14 +63,14 @@ discard block |
||
| 63 | 63 | $this->assertNotEmpty($orderUrl); |
| 64 | 64 | |
| 65 | 65 | $orderArray = explode('/', $orderUrl); |
| 66 | - $magentoOrderId = (int)$orderArray['8']; |
|
| 66 | + $magentoOrderId = (int) $orderArray['8']; |
|
| 67 | 67 | $this->assertNotEmpty($magentoOrderId); |
| 68 | 68 | $notifyFile = 'index/'; |
| 69 | - $quoteId=($magentoOrderId)-1; |
|
| 69 | + $quoteId = ($magentoOrderId) - 1; |
|
| 70 | 70 | |
| 71 | 71 | if (version_compare($this->version, '23') >= 0) { |
| 72 | 72 | $notifyFile = 'indexV2/'; |
| 73 | - $quoteId=$magentoOrderId; |
|
| 73 | + $quoteId = $magentoOrderId; |
|
| 74 | 74 | } |
| 75 | 75 | |
| 76 | 76 | $notifyUrl = sprintf( |
@@ -99,7 +99,7 @@ discard block |
||
| 99 | 99 | "PR58=>".$notifyUrl.$quoteId." = ".$response->body->result |
| 100 | 100 | ); |
| 101 | 101 | |
| 102 | - $quoteId=0; |
|
| 102 | + $quoteId = 0; |
|
| 103 | 103 | $response = Request::post($notifyUrl.$quoteId)->expects('json')->send(); |
| 104 | 104 | $this->assertNotEmpty($response->body->result, print_r($response, true)); |
| 105 | 105 | $this->assertContains( |