Custom Bulk action testing does not work
Hello everyone!
I'm trying to write a test for a custom bulk action that marks a group of selected students as absent. The issue I'm facing is that I try to select two student, and mark them as absent, but only one of them is actually passed as record to the action via the $records variable.
The first picture is the test code, and the second one, is the custom bulk action
Has anyone encountered this before ? What else could I provide so that my issue is more clear ? Thanks
Sorry for sending the code as ss, but I've went over discord's word count limit.
![No description](https://cdn.answeroverflow.com/1317856247181213788/Screenshot_from_2024-12-17_16-05-39.png)
![No description](https://cdn.answeroverflow.com/1317856247554379836/Screenshot_from_2024-12-17_16-05-02.png)
0 Replies