File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -520,7 +520,7 @@ describe("Plugins service", () => {
520
520
`\n@#[line:1,col:39].` +
521
521
`\n@#[line:1,col:39].` ;
522
522
mockBeginCommand ( testInjector , expectedErrorMessage ) ;
523
- pluginsService . prepare ( pluginJsonData ) . wait ( ) ;
523
+ pluginsService . prepare ( pluginJsonData , "android" ) . wait ( ) ;
524
524
} ) ;
525
525
it ( "merges AndroidManifest.xml and produces correct xml" , ( ) => {
526
526
let pluginName = "mySamplePlugin" ;
@@ -582,7 +582,7 @@ describe("Plugins service", () => {
582
582
let pluginConfigurationFilePath = path . join ( pluginPlatformsDirPath , "AndroidManifest.xml" ) ;
583
583
fs . writeFile ( pluginConfigurationFilePath , xml ) . wait ( ) ;
584
584
585
- pluginsService . prepare ( pluginJsonData ) . wait ( ) ;
585
+ pluginsService . prepare ( pluginJsonData , "android" ) . wait ( ) ;
586
586
587
587
let expectedXml = '<?xmlversion="1.0"encoding="UTF-8"?><manifestxmlns:android="http://schemas.android.com/apk/res/android"package="com.example.android.basiccontactables"android:versionCode="1"android:versionName="1.0"><uses-permissionandroid:name="android.permission.READ_EXTERNAL_STORAGE"/><uses-permissionandroid:name="android.permission.WRITE_EXTERNAL_STORAGE"/><uses-permissionandroid:name="android.permission.INTERNET"/><applicationandroid:allowBackup="true"android:icon="@drawable/ic_launcher"android:label="@string/app_name"android:theme="@style/Theme.Sample"><activityandroid:name="com.example.android.basiccontactables.MainActivity"android:label="@string/app_name"android:launchMode="singleTop"><meta-dataandroid:name="android.app.searchable"android:resource="@xml/searchable"/><intent-filter><actionandroid:name="android.intent.action.SEARCH"/></intent-filter><intent-filter><actionandroid:name="android.intent.action.MAIN"/></intent-filter></activity></application><uses-permissionandroid:name="android.permission.READ_CONTACTS"/></manifest>' ;
588
588
expectedXml = helpers . stringReplaceAll ( expectedXml , EOL , "" ) ;
You can’t perform that action at this time.
0 commit comments