@@ -119,7 +119,8 @@ function createTestInjector(projectPath: string, projectName: string, xCode?: IX
119119 } ) ;
120120 testInjector . register ( "iosDeviceOperations" , { } ) ;
121121 testInjector . register ( "pluginsService" , {
122- getAllInstalledPlugins : ( ) : string [ ] => [ ]
122+ getAllInstalledPlugins : ( ) : string [ ] => [ ] ,
123+ getAllProductionPlugins : ( ) : string [ ] => [ ] ,
123124 } ) ;
124125 testInjector . register ( "androidProcessService" , { } ) ;
125126 testInjector . register ( "sysInfo" , {
@@ -323,7 +324,7 @@ describe("Cocoapods support", () => {
323324 } ;
324325 const projectData : IProjectData = testInjector . resolve ( "projectData" ) ;
325326 const pluginsService = testInjector . resolve ( "pluginsService" ) ;
326- pluginsService . getAllInstalledPlugins = ( ) => {
327+ pluginsService . getAllProductionPlugins = ( ) => {
327328 return [ samplePluginData ] ;
328329 } ;
329330 const cocoapodsService = testInjector . resolve ( "cocoapodsService" ) ;
@@ -411,7 +412,7 @@ describe("Cocoapods support", () => {
411412 } ;
412413 const projectData : IProjectData = testInjector . resolve ( "projectData" ) ;
413414 const pluginsService = testInjector . resolve ( "pluginsService" ) ;
414- pluginsService . getAllInstalledPlugins = ( ) => {
415+ pluginsService . getAllProductionPlugins = ( ) => {
415416 return [ samplePluginData ] ;
416417 } ;
417418 const cocoapodsService = testInjector . resolve ( "cocoapodsService" ) ;
0 commit comments