fix(cli): adjust plugin template to use correct package name (#6258)

This commit is contained in:
Lucas Fernandes Nogueira
2023-02-13 05:54:48 -08:00
committed by GitHub
parent bef4ef51bc
commit 65e487f344
13 changed files with 67 additions and 26 deletions

View File

@@ -1,4 +1,4 @@
package com.plugin.test
package {{package_id}}
import androidx.test.platform.app.InstrumentationRegistry
import androidx.test.ext.junit.runners.AndroidJUnit4
@@ -19,6 +19,6 @@ class ExampleInstrumentedTest {
fun useAppContext() {
// Context of the app under test.
val appContext = InstrumentationRegistry.getInstrumentation().targetContext
assertEquals("com.plugin.test.test", appContext.packageName)
assertEquals("{{package_id}}", appContext.packageName)
}
}
}