You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-06 02:15:48 +03:00
Fix send_command working with hooked internal functions
This commit is contained in:
@@ -56,7 +56,7 @@ describe("The 'info' method", function () {
|
||||
|
||||
it('check redis v.2.4 support', function (done) {
|
||||
var end = helper.callFuncAfter(done, 2);
|
||||
client.send_command = function (command, args, callback) {
|
||||
client.internal_send_command = function (command, args, callback) {
|
||||
assert.strictEqual(args.length, 0);
|
||||
assert.strictEqual(command, 'info');
|
||||
end();
|
||||
|
Reference in New Issue
Block a user