Code Duplication    Length = 8-8 lines in 2 locations

tests/TwoCaptchaTest.php 2 locations

@@ 36-43 (lines=8) @@
33
    //}
34
    //}
35
36
    public function testGetBalance()
37
    {
38
        $captcha = new \jumper423\decaptcha\services\TwoCaptcha([
39
            \jumper423\decaptcha\services\TwoCaptcha::ACTION_FIELD_KEY => '200a1ed2b6ca001d8171c655658086ed',
40
        ]);
41
        $captcha->setErrorLang(\jumper423\decaptcha\core\DeCaptchaErrors::LANG_RU);
42
        $this->assertEquals(0, (int) $captcha->getBalance());
43
    }
44
45
    public function testNotTrue()
46
    {
@@ 45-52 (lines=8) @@
42
        $this->assertEquals(0, (int) $captcha->getBalance());
43
    }
44
45
    public function testNotTrue()
46
    {
47
        $captcha = new \jumper423\decaptcha\services\TwoCaptcha([
48
            \jumper423\decaptcha\services\TwoCaptcha::ACTION_FIELD_KEY => '200a1ed2b6ca001d8171c655658086ed',
49
        ]);
50
        $captcha->setErrorLang(\jumper423\decaptcha\core\DeCaptchaErrors::LANG_RU);
51
        $this->assertEquals(false, $captcha->notTrue());
52
    }
53
}
54