mirror of
https://github.com/fluencelabs/redis
synced 2025-06-12 00:31:21 +00:00
Return a specific NOAUTH error if authentication is required.
This commit is contained in:
@ -14,7 +14,7 @@ start_server {tags {"auth"} overrides {requirepass foobar}} {
|
||||
test {Arbitrary command gives an error when AUTH is required} {
|
||||
catch {r set foo bar} err
|
||||
set _ $err
|
||||
} {ERR*operation not permitted}
|
||||
} {NOAUTH*}
|
||||
|
||||
test {AUTH succeeds when the right password is given} {
|
||||
r auth foobar
|
||||
|
Reference in New Issue
Block a user