diff --git a/Corona-Warn-App/src/main/java/de/rki/coronawarnapp/appconfig/download/DefaultAppConfigSource.kt b/Corona-Warn-App/src/main/java/de/rki/coronawarnapp/appconfig/download/DefaultAppConfigSource.kt index ddb4e4528de..d4e33eeb5d1 100644 --- a/Corona-Warn-App/src/main/java/de/rki/coronawarnapp/appconfig/download/DefaultAppConfigSource.kt +++ b/Corona-Warn-App/src/main/java/de/rki/coronawarnapp/appconfig/download/DefaultAppConfigSource.kt @@ -11,6 +11,6 @@ class DefaultAppConfigSource @Inject constructor( ) { fun getRawDefaultConfig(): ByteArray { - return context.assets.open("default_app_config.bin").readBytes() + return context.assets.open("default_app_config_android.bin").readBytes() } } diff --git a/Corona-Warn-App/src/test/java/de/rki/coronawarnapp/appconfig/download/DefaultAppConfigSourceTest.kt b/Corona-Warn-App/src/test/java/de/rki/coronawarnapp/appconfig/download/DefaultAppConfigSourceTest.kt index 2ddfad5332b..bdb202ae6d9 100644 --- a/Corona-Warn-App/src/test/java/de/rki/coronawarnapp/appconfig/download/DefaultAppConfigSourceTest.kt +++ b/Corona-Warn-App/src/test/java/de/rki/coronawarnapp/appconfig/download/DefaultAppConfigSourceTest.kt @@ -19,8 +19,8 @@ class DefaultAppConfigSourceTest : BaseIOTest() { @MockK private lateinit var assetManager: AssetManager private val testDir = File(IO_TEST_BASEDIR, this::class.java.simpleName) - private val configFile = File(testDir, "default_app_config.bin") - private val checksumFile = File(testDir, "default_app_config.sha256") + private val configFile = File(testDir, "default_app_config_android.bin") + private val checksumFile = File(testDir, "default_app_config_android.sha256") @BeforeEach fun setup() { @@ -28,8 +28,8 @@ class DefaultAppConfigSourceTest : BaseIOTest() { every { context.assets } returns assetManager - every { assetManager.open("default_app_config.bin") } answers { configFile.inputStream() } - every { assetManager.open("default_app_config.sha256") } answers { checksumFile.inputStream() } + every { assetManager.open("default_app_config_android.bin") } answers { configFile.inputStream() } + every { assetManager.open("default_app_config_android.sha256") } answers { checksumFile.inputStream() } testDir.mkdirs() testDir.exists() shouldBe true