chore: restore test code
This commit is contained in:
parent
96ef37d0ea
commit
1148091f0b
|
@ -284,6 +284,22 @@ t_rule_test_smoke(_Config) ->
|
|||
<<"sql">> => <<"SELECT\n *\nFROM\n \"t/#\"">>
|
||||
}
|
||||
},
|
||||
#{
|
||||
expected => #{code => 412},
|
||||
input =>
|
||||
#{
|
||||
<<"context">> =>
|
||||
#{
|
||||
<<"clientid">> => <<"c_emqx">>,
|
||||
<<"event_type">> => <<"client_check_authn_complete">>,
|
||||
<<"reason_code">> => <<"sucess">>,
|
||||
<<"is_superuser">> => true,
|
||||
<<"is_anonymous">> => false,
|
||||
<<"username">> => <<"u_emqx">>
|
||||
},
|
||||
<<"sql">> => <<"SELECT\n *\nFROM\n \"t/#\"">>
|
||||
}
|
||||
},
|
||||
#{
|
||||
expected => #{code => 412},
|
||||
input =>
|
||||
|
|
Loading…
Reference in New Issue