The idea being to get the name and ID of the most recent 5 posts by each user, along with a count of all their posts. Prismock seems to be ignoring the _count option. When running tests, no _count is present on the results.
I think this might be what the README means when it says that "select + count" is unsupported. If that's the case, what would it take to add support?
Using Prismock 1.33.1. Our code under test looks like
The idea being to get the name and ID of the most recent 5 posts by each user, along with a count of all their posts. Prismock seems to be ignoring the
_count
option. When running tests, no_count
is present on the results.I think this might be what the README means when it says that "select + count" is unsupported. If that's the case, what would it take to add support?