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.
0 Replies