Skip to content

Commit

Permalink
fix unit tests (#894)
Browse files Browse the repository at this point in the history
  • Loading branch information
David Coutadeur committed Jun 25, 2024
1 parent f1ba39d commit f7d2543
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/InternalCaptchaTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public function test_generate_html_captcha(): void
$messages = array("captcha" => "Captcha");

$captchaMock = $this->getMockBuilder(captcha\InternalCaptcha::class)
->setMethods(['generate_captcha_challenge'])
->onlyMethods(['generate_captcha_challenge'])
->getMock();
$captchaMock->expects($this->once())
->method('generate_captcha_challenge')
Expand Down

0 comments on commit f7d2543

Please sign in to comment.