Skip to content

Commit a2ea427

Browse files
committed
adds test to avoid bulk actions function is broken again
1 parent 9eaa76d commit a2ea427

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/DataTableComponentTest.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,10 @@ public function search_filter_alt_query_relation()
116116
}
117117

118118
/** @test */
119-
public function bulk_actions_defined_with_function()
119+
public function bulk_actions_defined_through_function()
120120
{
121+
$this->assertArrayHasKey('count', $this->table->bulkActions);
122+
121123
$this->table->selected[] = 1;
122124
$this->assertEquals(1, $this->table->count());
123125
}

0 commit comments

Comments
 (0)