Selaa lähdekoodia

test(authn): test unsupported redis CMD

JimMoen 3 vuotta sitten
vanhempi
commit
4fa84cce29
1 muutettua tiedostoa jossa 3 lisäystä ja 0 poistoa
  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(