How to test a Table header action on a Relationship Manager?
I have the following test:
I don't think
callPageAction
is correct since if I use it, I get the following error: UsersRelationManager::getCachedAction does not exist.
If I use callTableAction
I get the following error: RelationManager::getTableRecord(): Argument #1 ($key) must be of type ?string, array given,
Which makes sense, but what should I use?2 Replies
should be callTableAction
the second argument should be null (there is no table row), or use
data:
on the array of dataGotcha! Thank you π