Passed
Pull Request — master (#16)
by Cesar
03:58
created
Test/Buy/PaylaterMgBuyRegisteredTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
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 69
         if (version_compare($this->version, '23') >= 0) {
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
             '='
81 81
         );
82 82
 
83
-        $quoteId=$magentoOrderId;
83
+        $quoteId = $magentoOrderId;
84 84
         $response = Request::post($notifyUrl.$quoteId)->expects('json')->send();
85 85
         $this->assertNotEmpty($response->body->result, print_r($response, true));
86 86
         $this->assertContains(
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
             "PR58=>".$notifyUrl.$quoteId." = ".$response->body->result
98 98
         );
99 99
 
100
-        $quoteId=0;
100
+        $quoteId = 0;
101 101
         $response = Request::post($notifyUrl.$quoteId)->expects('json')->send();
102 102
         $this->assertNotEmpty($response->body->result, print_r($response, true));
103 103
         $this->assertContains(
Please login to merge, or discard this patch.