mirror of
https://github.com/tauri-apps/tauri.git
synced 2026-04-07 10:22:29 +02:00
fix(cli): adjust plugin template to use correct package name (#6258)
This commit is contained in:
committed by
GitHub
parent
bef4ef51bc
commit
65e487f344
@@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user