You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-06 02:15:48 +03:00
had descriptions of tests swapped around
This commit is contained in:
@@ -42,15 +42,14 @@ describe("client authentication", function () {
|
|||||||
});
|
});
|
||||||
|
|
||||||
if (ip === 'IPv4') {
|
if (ip === 'IPv4') {
|
||||||
it('allows auth to be provided as config option for client', function (done) {
|
it('allows auth to be provided as part of redis url', function (done) {
|
||||||
client = redis.createClient('redis://foo:' + auth + '@' + config.HOST[ip] + ':' + config.PORT);
|
client = redis.createClient('redis://foo:' + auth + '@' + config.HOST[ip] + ':' + config.PORT);
|
||||||
client.on("ready", function () {
|
client.on("ready", function () {
|
||||||
return done();
|
return done() });
|
||||||
});
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
it('allows auth to be provided as part of redis url', function (done) {
|
it('allows auth to be provided as config option for client', function (done) {
|
||||||
var args = config.configureClient(parser, ip, {
|
var args = config.configureClient(parser, ip, {
|
||||||
auth_pass: auth
|
auth_pass: auth
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user