Passed
Pull Request — master (#16)
by
unknown
03:22
created
Test/Common/AbstractMg21Selenium.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
         $condition = WebDriverExpectedCondition::visibilityOfElementLocated($elementSearch);
79 79
         $this->webDriver->wait()->until($condition);
80 80
         $otherElement = $this->findById('payment_us_other_payment_methods-head');
81
-        if ($otherElement->getAttribute('class')!='open') {
81
+        if ($otherElement->getAttribute('class') != 'open') {
82 82
             $otherElement->click();
83 83
         }
84 84
 
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
         $this->webDriver->wait()->until($condition);
88 88
         $this->assertTrue((bool) $condition, "PR4");
89 89
         $paylaterElement = $this->findById('payment_us_paylater-head');
90
-        if ($paylaterElement->getAttribute('class')!='open') {
90
+        if ($paylaterElement->getAttribute('class') != 'open') {
91 91
             $paylaterElement->click();
92 92
         }
93 93
 
@@ -278,7 +278,7 @@  discard block
 block discarded – undo
278 278
         $this->webDriver->get($this->configuration['magentoUrl'].self::CHECKOUT_FOLDER);
279 279
         $condition = WebDriverExpectedCondition::titleContains(self::CHECKOUT_TITLE);
280 280
         $this->webDriver->wait()->until($condition);
281
-        $this->assertTrue((bool)$condition, $this->configuration['magentoUrl'].self::CHECKOUT_FOLDER);
281
+        $this->assertTrue((bool) $condition, $this->configuration['magentoUrl'].self::CHECKOUT_FOLDER);
282 282
     }
283 283
 
284 284
     /**
@@ -291,7 +291,7 @@  discard block
 block discarded – undo
291 291
         $this->webDriver->wait()->until($condition);
292 292
         $this->assertTrue((bool) $condition);
293 293
         $this->assertSame(
294
-            $this->configuration['firstname'] . ' ' . $this->configuration['lastname'],
294
+            $this->configuration['firstname'].' '.$this->configuration['lastname'],
295 295
             $this->findByClass('FieldsPreview-desc')->getText()
296 296
         );
297 297
     }
@@ -305,7 +305,7 @@  discard block
 block discarded – undo
305 305
     {
306 306
         $condition = WebDriverExpectedCondition::titleContains(self::PMT_TITLE);
307 307
         $this->webDriver->wait(300)->until($condition, $this->webDriver->getCurrentURL());
308
-        $this->assertTrue((bool)$condition, "PR32");
308
+        $this->assertTrue((bool) $condition, "PR32");
309 309
 
310 310
         SeleniumHelper::finishForm($this->webDriver);
311 311
     }
Please login to merge, or discard this patch.