Skip to content

Commit

Permalink
Add missing loadExtensions in the tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
afoucret committed Dec 12, 2023
1 parent 919900c commit eed448a
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -385,6 +385,8 @@ protected XPackLicenseState getLicenseState() {
}

public static MachineLearning createTrialLicensedMachineLearning(Settings settings) {
return new TrialLicensedMachineLearning(settings);
MachineLearning plugin = new TrialLicensedMachineLearning(settings);
plugin.loadExtensions(null);
return plugin;
}
}

0 comments on commit eed448a

Please sign in to comment.