File tree Expand file tree Collapse file tree
x-pack/test/fleet_api_integration/apis
fixtures/test_packages/all_assets/0.2.0/kibana/ml_module Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -394,6 +394,11 @@ const expectAssetsInstalled = ({
394394 id : 'sample_lens' ,
395395 } ) ;
396396 expect ( resLens . id ) . equal ( 'sample_lens' ) ;
397+ const resMlModule = await kibanaServer . savedObjects . get ( {
398+ type : 'ml-module' ,
399+ id : 'sample_ml_module' ,
400+ } ) ;
401+ expect ( resMlModule . id ) . equal ( 'sample_ml_module' ) ;
397402 const resIndexPattern = await kibanaServer . savedObjects . get ( {
398403 type : 'index-pattern' ,
399404 id : 'test-*' ,
@@ -459,6 +464,10 @@ const expectAssetsInstalled = ({
459464 id : 'sample_lens' ,
460465 type : 'lens' ,
461466 } ,
467+ {
468+ id : 'sample_ml_module' ,
469+ type : 'ml-module' ,
470+ } ,
462471 {
463472 id : 'sample_search' ,
464473 type : 'search' ,
Original file line number Diff line number Diff line change @@ -296,6 +296,10 @@ export default function (providerContext: FtrProviderContext) {
296296 id : 'sample_lens' ,
297297 type : 'lens' ,
298298 } ,
299+ {
300+ id : 'sample_ml_module' ,
301+ type : 'ml-module' ,
302+ } ,
299303 ] ,
300304 installed_es : [
301305 {
You can’t perform that action at this time.
0 commit comments