Преглед изворни кода

test(authn): test unsupported redis CMD

JimMoen пре 3 година
родитељ
комит
4fa84cce29
1 измењених фајлова са 3 додато и 0 уклоњено
  1. 3 0
      apps/emqx_authn/test/emqx_authn_redis_SUITE.erl

+ 3 - 0
apps/emqx_authn/test/emqx_authn_redis_SUITE.erl

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