Skip to content

Commit

Permalink
Merge pull request #100 from creative-commoners/pulls/5/phpunit11
Browse files Browse the repository at this point in the history
DEP Use PHPUnit 11
  • Loading branch information
GuySartorelli authored Sep 18, 2024
2 parents 8e5b917 + 8165bb4 commit 91873c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/php/ElementFormControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public function testElementFormSubmission()
public function testUserFormControllerInitIsCalled()
{
$userFormControllerMock = $this->getMockBuilder(UserDefinedFormController::class)
->setMethods(['doInit'])
->onlyMethods(['doInit'])
->getMock();

$userFormControllerMock->expects($this->once())->method('doInit');
Expand Down

0 comments on commit 91873c7

Please sign in to comment.