Skip to content

Commit

Permalink
tests: follow refactoring rector
Browse files Browse the repository at this point in the history
  • Loading branch information
ddevsr committed Nov 28, 2022
1 parent b753330 commit 49107f4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/RecaptchaTest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
<?php

namespace Tests;

use CodeIgniter\Test\CIUnitTestCase;
use Exception;
use PHPDevsr\Recaptcha\Config\Recaptcha as RecaptchaConfig;
use PHPDevsr\Recaptcha\Recaptcha;

Expand All @@ -14,7 +17,7 @@ public function testExceptionAPIKey()
$this->expectException(Exception::class);
$this->expectExceptionMessage('To use reCAPTCHA you must get an API key from https://www.google.com/recaptcha/admin');

$recaptcha = new Recaptcha();
new Recaptcha();
}

public function testGetScriptTagDefault()
Expand Down

0 comments on commit 49107f4

Please sign in to comment.