1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-06 02:15:48 +03:00

Clarify this one test is only applicable for IPv4.

This commit is contained in:
Erin Spiceland
2015-08-15 11:51:37 -05:00
parent 2fd3b46835
commit 65db5dbefe

View File

@@ -41,13 +41,14 @@ describe("client authentication", function () {
client.auth(auth + 'bad');
});
if (ip === 'IPv4')
if (ip === 'IPv4') {
it('allows auth to be provided as config option for client', function (done) {
client = redis.createClient('redis://foo:' + auth + '@' + config.HOST[ip] + ':' + config.PORT);
client.on("ready", function () {
return done();
});
});
}
it('allows auth to be provided as part of redis url', function (done) {
var args = config.configureClient(parser, ip, {