test: fix emqx_resource_SUITE
This commit is contained in:
parent
d53cd381ae
commit
4ac0a76d00
|
@ -167,7 +167,7 @@ t_create_remove_local(_) ->
|
|||
?assertMatch(ok, emqx_resource:remove_local(?ID)),
|
||||
|
||||
?assertMatch(
|
||||
?RESOURCE_ERROR(not_found),
|
||||
{error, not_found},
|
||||
emqx_resource:query(?ID, get_state)
|
||||
),
|
||||
|
||||
|
@ -235,7 +235,7 @@ t_query(_) ->
|
|||
{ok, #{pid := _}} = emqx_resource:query(?ID, get_state),
|
||||
|
||||
?assertMatch(
|
||||
?RESOURCE_ERROR(not_found),
|
||||
{error, not_found},
|
||||
emqx_resource:query(<<"unknown">>, get_state)
|
||||
),
|
||||
|
||||
|
|
Loading…
Reference in New Issue