|
@@ -10,7 +10,7 @@ |
|
|
block discarded – undo |
|
10
|
10
|
$re = new \jumper423\decaptcha\services\TwoCaptcha([ |
|
11
|
11
|
\jumper423\decaptcha\services\TwoCaptcha::PARAM_SPEC_KEY => 'b7e7f1002f0f917ca5a852e1c0312e8f', |
|
12
|
12
|
]); |
|
13
|
|
- if ($re->recognize(__DIR__.'/data/Captcha.jpg')) { |
|
|
13
|
+ if ($re->recognize(__DIR__ . '/data/Captcha.jpg')) { |
|
14
|
14
|
$this->assertEquals('11111111111111', $re->getCode()); |
|
15
|
15
|
} else { |
|
16
|
16
|
$this->assertEquals('22222222222222', $re->getError()); |
Please login to merge, or discard this patch.