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 0501dfe commit 3f3918dCopy full SHA for 3f3918d
tests/Unit/Views/Columns/ViewComponentColumnTest.php
@@ -89,7 +89,7 @@ public function test_can_not_return_invalid_attributes(): void
89
{
90
$this->expectException(DataTableConfigurationException::class);
91
92
- $column = ViewComponentColumn::make('Total Users')->attributes(fn ($value, $row, Column $column) => 'test')->getContents(Pet::find(1));
+ $column = ViewComponentColumn::make('Total Users')->component('test-component')->attributes(fn ($value, $row, Column $column) => 'test')->getContents(Pet::find(1));
93
94
}
95
0 commit comments