diff --git a/apps/emqx_management/test/emqx_bridge_mqtt_data_export_import_SUITE.erl b/apps/emqx_management/test/emqx_bridge_mqtt_data_export_import_SUITE.erl index 7cf7d19cf..aca60a687 100644 --- a/apps/emqx_management/test/emqx_bridge_mqtt_data_export_import_SUITE.erl +++ b/apps/emqx_management/test/emqx_bridge_mqtt_data_export_import_SUITE.erl @@ -177,7 +177,6 @@ handle_config(Config, ee435, Id) -> remove_resources() -> timer:sleep(500), lists:foreach(fun(#resource{id = Id}) -> - emqx_rule_registry:remove_resource(Id), - emqx_rule_registry:remove_resource_params(Id) + emqx_rule_engine:delete_resource(Id) end, emqx_rule_registry:get_resources()), timer:sleep(500). \ No newline at end of file