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 6, 2024
1 parent e95225b commit 21cae0f
Show file tree
Hide file tree
Showing 2 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 @@ -28,7 +28,7 @@
"silverstripe/vendor-plugin": "^2"
},
"require-dev": {
"phpunit/phpunit": "^9.6",
"phpunit/phpunit": "^11.3",
"squizlabs/php_codesniffer": "^3.7",
"silverstripe/asset-admin": "^3",
"silverstripe/cms": "^6",
Expand Down
4 changes: 2 additions & 2 deletions tests/php/CampaignAdminTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ public function testFilters()
);
}

public function readCampaignDataProvider()
public static function readCampaignDataProvider()
{
return [
'valid campaign' => ['change1', 'CMS_ACCESS_CampaignAdmin', 200],
Expand All @@ -162,7 +162,7 @@ public function testReadCampaign(
$this->assertEquals($expectedResponseCode, $response->getStatusCode());
}

public function provideRemoveCampaignItem(): array
public static function provideRemoveCampaignItem(): array
{
return [
'open campaign' => [false, false, 204],
Expand Down

0 comments on commit 21cae0f

Please sign in to comment.