diff --git a/tests/Cases/FilterTest.phpt b/tests/Cases/FilterTest.phpt new file mode 100644 index 00000000..2734f997 --- /dev/null +++ b/tests/Cases/FilterTest.phpt @@ -0,0 +1,32 @@ +createTestingDataGrid()->getComponent('grid'); + $filterForm = $grid->createComponentFilter(); + + Assert::exception(function() use ($grid, $filterForm): void { + $grid->filterSucceeded($filterForm); + }, AbortException::class); + } + +} + +(new FilterTest)->run();