Completed
Push — master ( 947d72...ae3446 )
by Mahmoud
03:01
created
app/Port/Tests/PHPUnit/Abstracts/TestCase.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
         $this->baseUrl = env('API_FULL_URL'); // this reads the value from `phpunit.xml` during testing
58 58
 
59 59
         // override the default subDomain of the base URL when subDomain property is defined inside a test
60
-        if(property_exists($this, 'subDomain')){
60
+        if (property_exists($this, 'subDomain')) {
61 61
             $this->overrideSubDomain($this->subDomain);
62 62
         }
63 63
 
Please login to merge, or discard this patch.
app/Port/Tests/PHPUnit/Traits/TestingTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -418,7 +418,7 @@
 block discarded – undo
418 418
      */
419 419
     public function overrideSubDomain($subDomain, $url = null)
420 420
     {
421
-        $url = ($url) ? : $this->baseUrl;
421
+        $url = ($url) ?: $this->baseUrl;
422 422
 
423 423
         $info = parse_url($url);
424 424
 
Please login to merge, or discard this patch.