test(authn): test unsupported redis CMD

This commit is contained in:
JimMoen 2022-05-10 19:08:27 +08:00
parent 87af77ec35
commit 4fa84cce29
1 changed files with 3 additions and 0 deletions

View File

@ -107,6 +107,9 @@ t_create_invalid(_Config) ->
}, },
AuthConfig#{ AuthConfig#{
cmd => <<"HMGET mqtt_user:${username} salt is_superuser">> cmd => <<"HMGET mqtt_user:${username} salt is_superuser">>
},
AuthConfig#{
cmd => <<"HGETALL mqtt_user:${username} salt is_superuser">>
} }
], ],
lists:foreach( lists:foreach(