File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -202,7 +202,7 @@ public function globalVariablesAreAccessibleAcrossVersions(): void
202202 $ request = $ GLOBALS ['TYPO3_REQUEST ' ] ?? null ;
203203
204204 // The extension should handle null request gracefully
205- self ::assertTrue (! empty ($ request ), 'Global variables access pattern is compatible ' );
205+ self ::assertTrue (is_array ($ request ), 'Global variables access pattern is compatible ' );
206206
207207 // Test BE_USER global access pattern
208208 $ backendUser = $ GLOBALS ['BE_USER ' ] ?? null ;
@@ -287,6 +287,7 @@ public function shortcutPreviewRendererApiIsCompatible(): void
287287 't3ver_wsid ' => 0 ,
288288 't3ver_oid ' => 0 ,
289289 't3ver_state ' => 0 ,
290+ 't3ver_stage ' => 0 ,
290291 ];
291292 $ record = $ recordFactory ->createFromDatabaseRow ('tt_content ' , $ testData );
292293
Original file line number Diff line number Diff line change @@ -130,6 +130,7 @@ public function rendererHandlesVersionSpecificRecordMethods(): void
130130 't3ver_wsid ' => 0 ,
131131 't3ver_oid ' => 0 ,
132132 't3ver_state ' => 0 ,
133+ 't3ver_stage ' => 0 ,
133134 'header ' => 'Test Shortcut ' ,
134135 'records ' => '2 ' ,
135136 ];
@@ -180,6 +181,7 @@ public function getDataRowMethodHandlesVersionDifferences(): void
180181 't3ver_wsid ' => 0 ,
181182 't3ver_oid ' => 0 ,
182183 't3ver_state ' => 0 ,
184+ 't3ver_stage ' => 0 ,
183185 'header ' => 'Test Record ' ,
184186 ];
185187
@@ -208,6 +210,7 @@ public function getDataRowMethodHandlesVersionDifferences(): void
208210 't3ver_wsid ' => 0 ,
209211 't3ver_oid ' => 0 ,
210212 't3ver_state ' => 0 ,
213+ 't3ver_stage ' => 0 ,
211214 'header ' => 'Test Record ' ,
212215 ];
213216
@@ -253,6 +256,7 @@ public function getContentRecordObjMethodWorksInV14(): void
253256 't3ver_wsid ' => 0 ,
254257 't3ver_oid ' => 0 ,
255258 't3ver_state ' => 0 ,
259+ 't3ver_stage ' => 0 ,
256260 'header ' => 'Test Content ' ,
257261 ];
258262
@@ -288,6 +292,7 @@ public function rendererCanHandleGridColumnItemsAcrossVersions(): void
288292 't3ver_wsid ' => 0 ,
289293 't3ver_oid ' => 0 ,
290294 't3ver_state ' => 0 ,
295+ 't3ver_stage ' => 0 ,
291296 'header ' => 'Reference Element ' ,
292297 'records ' => '1 ' ,
293298 ];
@@ -348,6 +353,7 @@ public function rendererHandlesRecordFactoryAvailability(): void
348353 'l18n_parent ' => 0 ,
349354 't3ver_wsid ' => 0 ,
350355 't3ver_state ' => 0 ,
356+ 't3ver_stage ' => 0 ,
351357 't3ver_oid ' => 0 ,
352358 ];
353359
You can’t perform that action at this time.
0 commit comments