From 59c68d566707f374a6deebb0695c8234e52f00f1 Mon Sep 17 00:00:00 2001 From: Christian Kuhn Date: Fri, 28 Jul 2023 07:52:39 +0200 Subject: [PATCH] [TASK] Remove an unused test data provider getWhereReturnCorrectQueryDataProvider() is unused since a v9 deprecation removal. Resolves: #101466 Related: #80715 Related: #80711 Releases: main, 12.4 Change-Id: I098ad09f292d76fc306d7819838d049438af2575 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/80147 Tested-by: core-ci Tested-by: Christian Kuhn Reviewed-by: Christian Kuhn --- .../ContentObjectRendererTest.php | 72 ------------------- 1 file changed, 72 deletions(-) diff --git a/typo3/sysext/frontend/Tests/Functional/ContentObject/ContentObjectRendererTest.php b/typo3/sysext/frontend/Tests/Functional/ContentObject/ContentObjectRendererTest.php index fa31bced7950..9e369ab45088 100644 --- a/typo3/sysext/frontend/Tests/Functional/ContentObject/ContentObjectRendererTest.php +++ b/typo3/sysext/frontend/Tests/Functional/ContentObject/ContentObjectRendererTest.php @@ -241,78 +241,6 @@ public function getQuery(string $table, array $conf, array $expected): void } } - public function getWhereReturnCorrectQueryDataProvider(): array - { - return [ - [ - [ - 'tt_content' => [ - 'ctrl' => [ - ], - 'columns' => [ - ], - ], - ], - 'tt_content', - [ - 'uidInList' => '42', - 'pidInList' => 43, - 'where' => 'tt_content.cruser_id=5', - 'groupBy' => 'tt_content.title', - 'orderBy' => 'tt_content.sorting', - ], - 'WHERE (`tt_content`.`uid` IN (42)) AND (`tt_content`.`pid` IN (43)) AND (tt_content.cruser_id=5) GROUP BY `tt_content`.`title` ORDER BY `tt_content`.`sorting`', - ], - [ - [ - 'tt_content' => [ - 'ctrl' => [ - 'delete' => 'deleted', - 'enablecolumns' => [ - 'disabled' => 'hidden', - 'starttime' => 'startdate', - 'endtime' => 'enddate', - ], - 'languageField' => 'sys_language_uid', - 'transOrigPointerField' => 'l18n_parent', - ], - 'columns' => [ - ], - ], - ], - 'tt_content', - [ - 'uidInList' => 42, - 'pidInList' => 43, - 'where' => 'tt_content.cruser_id=5', - 'groupBy' => 'tt_content.title', - 'orderBy' => 'tt_content.sorting', - ], - 'WHERE (`tt_content`.`uid` IN (42)) AND (`tt_content`.`pid` IN (43)) AND (tt_content.cruser_id=5) AND (`tt_content`.`sys_language_uid` = 13) AND ((`tt_content`.`deleted` = 0) AND (`tt_content`.`hidden` = 0) AND (`tt_content`.`startdate` <= 4242) AND ((`tt_content`.`enddate` = 0) OR (`tt_content`.`enddate` > 4242))) GROUP BY `tt_content`.`title` ORDER BY `tt_content`.`sorting`', - ], - [ - [ - 'tt_content' => [ - 'ctrl' => [ - 'languageField' => 'sys_language_uid', - 'transOrigPointerField' => 'l18n_parent', - ], - 'columns' => [ - ], - ], - ], - 'tt_content', - [ - 'uidInList' => 42, - 'pidInList' => 43, - 'where' => 'tt_content.cruser_id=5', - 'languageField' => 0, - ], - 'WHERE (`tt_content`.`uid` IN (42)) AND (`tt_content`.`pid` IN (43)) AND (tt_content.cruser_id=5)', - ], - ]; - } - /** * @test */