Skip to content

Commit 01b6824

Browse files
authored
Add Tests
1 parent b2ddbb7 commit 01b6824

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/Unit/Views/ColumnTest.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,4 +114,10 @@ public function test_cannot_collapse_on_tablet_and_mobile(): void
114114

115115
$contents = $column->renderContents($rows->first());
116116
}
117+
118+
public function test_custom_sorting_pills_label_defaults_correctly(): void
119+
{
120+
$column = Column::make('Name', 'name');
121+
$this->assertSame('Name', $column->getTitle());
122+
}
117123
}

0 commit comments

Comments
 (0)