Completed
Push — master ( b9ad07...9607f0 )
by Владислав
02:10
created
tests/TwoCaptchaTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
         ]);
18 18
         $captcha->setErrorLang(\jumper423\decaptcha\core\DeCaptchaErrors::LANG_RU);
19 19
         $captcha->setCauseAnError(true);
20
-        $captcha->recognize(__DIR__.'/data/Captcha.jpg');
20
+        $captcha->recognize(__DIR__ . '/data/Captcha.jpg');
21 21
     }
22 22
 
23 23
     public function testRecognizeBalanceError2()
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
             \jumper423\decaptcha\services\TwoCaptcha::PARAM_SPEC_API_KEY => '200a1ed2b6ca001d8171c655658086ed',
27 27
         ]);
28 28
         $captcha->setErrorLang(\jumper423\decaptcha\core\DeCaptchaErrors::LANG_RU);
29
-        if ($captcha->recognize(__DIR__.'/data/Captcha.jpg')) {
29
+        if ($captcha->recognize(__DIR__ . '/data/Captcha.jpg')) {
30 30
             $this->assertEquals('11111111111111', $captcha->getCode());
31 31
         } else {
32 32
             $this->assertEquals('Нулевой либо отрицательный баланс', $captcha->getError());
@@ -39,6 +39,6 @@  discard block
 block discarded – undo
39 39
             \jumper423\decaptcha\services\TwoCaptcha::PARAM_SPEC_API_KEY => '200a1ed2b6ca001d8171c655658086ed',
40 40
         ]);
41 41
         $captcha->setErrorLang(\jumper423\decaptcha\core\DeCaptchaErrors::LANG_RU);
42
-        $this->assertEquals(0, (int)$captcha->getBalance());
42
+        $this->assertEquals(0, (int) $captcha->getBalance());
43 43
     }
44 44
 }
Please login to merge, or discard this patch.