diff --git a/app/src/test/java/info/nightscout/androidaps/plugins/general/autotune/AutotuneCoreTest.kt b/app/src/test/java/info/nightscout/androidaps/plugins/general/autotune/AutotuneCoreTest.kt index c567c3298e..81209340e9 100644 --- a/app/src/test/java/info/nightscout/androidaps/plugins/general/autotune/AutotuneCoreTest.kt +++ b/app/src/test/java/info/nightscout/androidaps/plugins/general/autotune/AutotuneCoreTest.kt @@ -40,6 +40,7 @@ class AutotuneCoreTest : TestBaseWithProfile() { @Before fun initData() { autotuneCore = AutotuneCore(sp,autotuneFS) + TimeZone.setDefault(TimeZone.getTimeZone("GMT+2")) prepjson = File("src/test/res/autotune/test1/autotune.2022-05-21.json").readText() val inputProfileJson = File("src/test/res/autotune/test1/profile.pump.json").readText() inputProfile = atProfileFromOapsJson(JSONObject(inputProfileJson), dateUtil)!!