Skip to content

Commit

Permalink
[TASK] Remove an unused test data provider
Browse files Browse the repository at this point in the history
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 <typo3@b13.com>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
  • Loading branch information
lolli42 committed Jul 28, 2023
1 parent 40002a3 commit 59c68d5
Showing 1 changed file with 0 additions and 72 deletions.
Expand Up @@ -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
*/
Expand Down

0 comments on commit 59c68d5

Please sign in to comment.