Skip to content

Commit 30ea0a3

Browse files
[Task] fix some tests
1 parent 08a4ec3 commit 30ea0a3

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

Tests/Functional/ApiCompatibilityTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,7 @@ public function shortcutPreviewRendererApiIsCompatible(): void
288288
't3ver_oid' => 0,
289289
't3ver_state' => 0,
290290
't3ver_stage' => 0,
291+
'crdate' => 0,
291292
];
292293
$record = $recordFactory->createFromDatabaseRow('tt_content', $testData);
293294

Tests/Functional/ShortcutPreviewRendererCompatibilityTest.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@ public function getDataRowMethodHandlesVersionDifferences(): void
182182
't3ver_oid' => 0,
183183
't3ver_state' => 0,
184184
't3ver_stage' => 0,
185+
'crdate' => 0,
185186
'header' => 'Test Record',
186187
];
187188

@@ -211,6 +212,7 @@ public function getDataRowMethodHandlesVersionDifferences(): void
211212
't3ver_oid' => 0,
212213
't3ver_state' => 0,
213214
't3ver_stage' => 0,
215+
'crdate' => 0,
214216
'header' => 'Test Record',
215217
];
216218

@@ -257,6 +259,7 @@ public function getContentRecordObjMethodWorksInV14(): void
257259
't3ver_oid' => 0,
258260
't3ver_state' => 0,
259261
't3ver_stage' => 0,
262+
'crdate' => 0,
260263
'header' => 'Test Content',
261264
];
262265

@@ -293,6 +296,7 @@ public function rendererCanHandleGridColumnItemsAcrossVersions(): void
293296
't3ver_oid' => 0,
294297
't3ver_state' => 0,
295298
't3ver_stage' => 0,
299+
'crdate' => 0,
296300
'header' => 'Reference Element',
297301
'records' => '1',
298302
];
@@ -355,6 +359,7 @@ public function rendererHandlesRecordFactoryAvailability(): void
355359
't3ver_state' => 0,
356360
't3ver_stage' => 0,
357361
't3ver_oid' => 0,
362+
'crdate' => 0,
358363
];
359364

360365
$record = $recordFactory->createFromDatabaseRow('tt_content', $testData);

Tests/Functional/VersionSpecificCompatibilityTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,8 @@
2222
* This copyright notice MUST APPEAR in all copies of the script!
2323
***************************************************************/
2424

25-
use EHAERER\PasteReference\ContextMenu\PasteReferenceItemProvider;
2625
use EHAERER\PasteReference\DataHandler\ProcessCmdmap;
2726
use PHPUnit\Framework\Attributes\Test;
28-
use TYPO3\CMS\Backend\ContextMenu\ItemProviders\RecordProvider;
2927
use TYPO3\CMS\Core\Authentication\BackendUserAuthentication;
3028
use TYPO3\CMS\Core\Database\ConnectionPool;
3129
use TYPO3\CMS\Core\Information\Typo3Version;

0 commit comments

Comments
 (0)