Skip to content

Commit 3f3918d

Browse files
authored
test_can_not_return_invalid_attributes (rappasoft#2078)
1 parent 0501dfe commit 3f3918d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Unit/Views/Columns/ViewComponentColumnTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public function test_can_not_return_invalid_attributes(): void
8989
{
9090
$this->expectException(DataTableConfigurationException::class);
9191

92-
$column = ViewComponentColumn::make('Total Users')->attributes(fn ($value, $row, Column $column) => 'test')->getContents(Pet::find(1));
92+
$column = ViewComponentColumn::make('Total Users')->component('test-component')->attributes(fn ($value, $row, Column $column) => 'test')->getContents(Pet::find(1));
9393

9494
}
9595
}

0 commit comments

Comments
 (0)