Skip to content

Commit 4c23711

Browse files
committed
Ensure column visible test.
1 parent baea2f9 commit 4c23711

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/Unit/MatchableFilterTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,16 @@ class MatchableFilterTest extends IntegrationTest
1111
public function test_matchable_filter_has_key(): void
1212
{
1313
$filter = new class extends MatchFilter {
14+
public ?string $column = 'status';
1415
};
1516

1617
tap(
1718
AssertableJson::fromArray($filter->jsonSerialize()),
1819
function (AssertableJson $json) {
1920
$json
21+
->dump()
2022
->where('key', 'matches')
23+
->where('column', 'status')
2124
;
2225
}
2326
);

0 commit comments

Comments
 (0)