@@ -123,6 +123,7 @@ public function rendererHandlesVersionSpecificRecordMethods(): void
123123 'uid ' => 1 ,
124124 'pid ' => 1 ,
125125 'CType ' => 'shortcut ' ,
126+ 'sys_language_uid ' => 0 ,
126127 'header ' => 'Test Shortcut ' ,
127128 'records ' => '2 ' ,
128129 ];
@@ -168,6 +169,7 @@ public function getDataRowMethodHandlesVersionDifferences(): void
168169 'uid ' => 1 ,
169170 'pid ' => 1 ,
170171 'CType ' => 'shortcut ' ,
172+ 'sys_language_uid ' => 0 ,
171173 'header ' => 'Test Record ' ,
172174 ];
173175
@@ -191,6 +193,7 @@ public function getDataRowMethodHandlesVersionDifferences(): void
191193 'uid ' => 1 ,
192194 'pid ' => 1 ,
193195 'CType ' => 'shortcut ' ,
196+ 'sys_language_uid ' => 0 ,
194197 'header ' => 'Test Record ' ,
195198 ];
196199
@@ -231,6 +234,7 @@ public function getContentRecordObjMethodWorksInV14(): void
231234 'uid ' => 1 ,
232235 'pid ' => 1 ,
233236 'CType ' => 'text ' ,
237+ 'sys_language_uid ' => 0 ,
234238 'header ' => 'Test Content ' ,
235239 ];
236240
@@ -261,6 +265,7 @@ public function rendererCanHandleGridColumnItemsAcrossVersions(): void
261265 'uid ' => 2 ,
262266 'pid ' => 1 ,
263267 'CType ' => 'shortcut ' ,
268+ 'sys_language_uid ' => 0 ,
264269 'header ' => 'Reference Element ' ,
265270 'records ' => '1 ' ,
266271 ];
@@ -313,7 +318,13 @@ public function rendererHandlesRecordFactoryAvailability(): void
313318 self ::assertInstanceOf (RecordFactory::class, $ recordFactory );
314319
315320 // Test that it can create records for tt_content
316- $ testData = ['uid ' => 1 , 'pid ' => 1 , 'CType ' => 'text ' ];
321+ $ testData = [
322+ 'uid ' => 1 ,
323+ 'pid ' => 1 ,
324+ 'CType ' => 'text '
325+ 'sys_language_uid' => 0 ,
326+
327+ ];
317328 $ record = $ recordFactory ->createFromDatabaseRow ('tt_content ' , $ testData );
318329
319330 self ::assertInstanceOf (RecordInterface::class, $ record );
0 commit comments