Skip to content

Commit

Permalink
[TASK] make dataProvider static
Browse files Browse the repository at this point in the history
  • Loading branch information
achimfritz committed Jun 26, 2024
1 parent ba29702 commit 314f31f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Tests/Functional/DataProcessing/BreadcrumbsMenuTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class BreadcrumbsMenuTest extends DataProcessingTest
/**
* @return array
*/
public function setupDataProvider()
public static function setupDataProvider()
{
return [
[
Expand Down
4 changes: 2 additions & 2 deletions Tests/Functional/DataProcessing/ListMenuProcessorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class ListMenuProcessorTest extends DataProcessingTest
/**
* @return array
*/
public function setupDataProvider()
public static function setupDataProvider()
{
return [
[
Expand Down Expand Up @@ -335,7 +335,7 @@ public function processTest(array $tsfe, array $configuration, array $expected)
/**
* @return array
*/
public function cacheDataProvider()
public static function cacheDataProvider()
{
return [
[
Expand Down
4 changes: 2 additions & 2 deletions Tests/Functional/DataProcessing/TreeMenuProcessorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class TreeMenuProcessorTest extends DataProcessingTest
/**
* @return array
*/
public function setupDataProvider()
public static function setupDataProvider()
{
return [
[
Expand Down Expand Up @@ -417,7 +417,7 @@ public function processTest(array $tsfe, array $configuration, array $expected):
/**
* @return array
*/
public function cacheDataProvider()
public static function cacheDataProvider()
{
return [
// entry point 2
Expand Down
2 changes: 1 addition & 1 deletion Tests/Functional/Hooks/DataHandlerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ protected function setUp(): void
$this->dataHandler = GeneralUtility::makeInstance(DataHandler::class);
}

public function cmdmapDataProvider(): array
public static function cmdmapDataProvider(): array
{
return [
'copy page' => ['cmdmap' => ['pages' => [
Expand Down

0 comments on commit 314f31f

Please sign in to comment.