test: fix test case mock that broke due to removal

This commit is contained in:
Kjell Winblad 2023-11-10 19:56:17 +01:00 committed by Ivan Dyachkov
parent 093c8b0c6e
commit 3bea3496af
2 changed files with 3 additions and 2 deletions

View File

@ -28,7 +28,8 @@
get_response/0,
put_request/0,
post_request/0,
examples/1
examples/1,
registered_api_schemas/1
]).
-export([types/0, types_sc/0]).

View File

@ -111,7 +111,7 @@ setup_mocks() ->
catch meck:new(emqx_bridge_v2_schema, MeckOpts),
meck:expect(
emqx_bridge_v2_schema,
enterprise_api_schemas,
registered_api_schemas,
1,
fun(Method) -> [{bridge_type_bin(), hoconsc:ref(?MODULE, "api_" ++ Method)}] end
),