Skip to content

Commit

Permalink
DEP Use PHPUnit 11
Browse files Browse the repository at this point in the history
  • Loading branch information
emteknetnz committed Sep 9, 2024
1 parent 5f94354 commit 8badb38
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"silverstripe/cms": "^6"
},
"require-dev": {
"phpunit/phpunit": "^9.6",
"phpunit/phpunit": "^11.3",
"squizlabs/php_codesniffer": "^3",
"silverstripe/reports": "^6",
"silverstripe/siteconfig": "^6",
Expand Down
2 changes: 1 addition & 1 deletion tests/SegmentFieldModifier/IDSegmentFieldModifierTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ protected function getNewFormMock()
{
$mock = $this->getMockBuilder(Form::class)
->disableOriginalConstructor()
->setMethods(['getRecord'])
->onlyMethods(['getRecord'])
->getMock();

$record = new stdClass();
Expand Down
2 changes: 1 addition & 1 deletion tests/SegmentFieldTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ protected function getNewFormMock()
{
return $this->getMockBuilder(Form::class)
->disableOriginalConstructor()
->setMethods(null)
->onlyMethods(null)
->getMock();
}
}

0 comments on commit 8badb38

Please sign in to comment.