test: fix test case
This commit is contained in:
parent
5e2bc7853f
commit
c59d9798a4
|
@ -167,8 +167,9 @@ t_pgsql_error(_Config) ->
|
||||||
listener => {tcp, default}
|
listener => {tcp, default}
|
||||||
},
|
},
|
||||||
|
|
||||||
{error, _} = setup_config(
|
ok = setup_config(
|
||||||
#{<<"query">> => <<"SOME INVALID STATEMENT">>}),
|
#{<<"query">> => <<"SELECT permission, action, topic "
|
||||||
|
"FROM acl WHERE clientid = ${username}">>}),
|
||||||
|
|
||||||
ok = emqx_authz_test_lib:test_samples(
|
ok = emqx_authz_test_lib:test_samples(
|
||||||
ClientInfo,
|
ClientInfo,
|
||||||
|
|
Loading…
Reference in New Issue