Migrate config inspect test to api test Upstream-commit: 973cf656ddb75656fd3225854be13a911377eda6 Component: engine