Passed
Pull Request — master (#4)
by Rafal
01:48
created
test/Unit/Domain/Model/ConfigTest.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
     {
26 26
         $this->config = new Config();
27 27
         foreach ($this->env as $envName => $envValue) {
28
-            $this->env[$envName] = getenv($envName);
28
+            $this->env[ $envName ] = getenv($envName);
29 29
             putenv($envName.'=0');
30 30
         }
31 31
         parent::setUp();
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
     {
44 44
         $envValue = 'UnitSecret';
45 45
         putenv('CLIENT_SECRET='.$envValue);
46
-        $this->assertSame($envValue,$this->config->getClientSecret());
46
+        $this->assertSame($envValue, $this->config->getClientSecret());
47 47
     }
48 48
 
49 49
     public function testGetClientSecretException()
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
     {
57 57
         $envValue = 'UnitId';
58 58
         putenv('CLIENT_ID='.$envValue);
59
-        $this->assertSame($envValue,$this->config->getClientId());
59
+        $this->assertSame($envValue, $this->config->getClientId());
60 60
     }
61 61
 
62 62
     public function testGetClientIdException()
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
     {
70 70
         $envValue = 'UnitRedirectUri';
71 71
         putenv('REDIRECT_URI='.$envValue);
72
-        $this->assertSame($envValue,$this->config->getRedirectUri());
72
+        $this->assertSame($envValue, $this->config->getRedirectUri());
73 73
     }
74 74
 
75 75
     public function testGetRedirectUriException()
Please login to merge, or discard this patch.