You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So I'm using this project in a Lumen setup that uses Predis 1.1. Mocking a Redis server works perfectly when using individual Redis commands, however, I can't get it to work when using pipeline. When doing something like this:
$response = Redis::pipeline(function($pipe) {
// Run redis commands here
});
I'm expecting that $response will be an array with command results. However, when mocking the Predis Client, I get an instance of RedisMock instead.
Is the pipeline support not fully implemented or am I missing something here?
Thanks.
The text was updated successfully, but these errors were encountered:
So I'm using this project in a Lumen setup that uses Predis 1.1. Mocking a Redis server works perfectly when using individual Redis commands, however, I can't get it to work when using pipeline. When doing something like this:
I'm expecting that
$response
will be an array with command results. However, when mocking the Predis Client, I get an instance ofRedisMock
instead.Is the pipeline support not fully implemented or am I missing something here?
Thanks.
The text was updated successfully, but these errors were encountered: