We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5c637d commit c1ee0f2Copy full SHA for c1ee0f2
tests/Units/TableTest.php
@@ -274,3 +274,18 @@
274
))
275
->toMatchTextSnapshot();
276
});
277
+
278
+test('add body_celltags override', function (): void {
279
+ expect(LaravelHtmlTableFacade::generate(
280
+ header: ['Header'],
281
+ data: [
282
+ [
283
284
+ 'data' => 'row data',
285
+ 'body_celltags' => ['open' => '<td id="testid">', 'close' => '</td test close>'],
286
+ ],
287
288
289
+ ))
290
+ ->toMatchTextSnapshot();
291
+});
0 commit comments