From 72f141d5cae57a94e6401b7621b13cb3bd3b31b2 Mon Sep 17 00:00:00 2001 From: Roumen Georgiev Date: Wed, 28 Nov 2018 15:29:01 +0200 Subject: [PATCH] Fix for the the failing ProfileTest there is also a typo in the profile_ins_units_per_hout --- app/src/test/java/info/AAPSMocker.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/src/test/java/info/AAPSMocker.java b/app/src/test/java/info/AAPSMocker.java index f4ffc33af5..25484a80e5 100644 --- a/app/src/test/java/info/AAPSMocker.java +++ b/app/src/test/java/info/AAPSMocker.java @@ -101,6 +101,9 @@ public class AAPSMocker { when(MainApp.gs(R.string.careportal_profileswitch)).thenReturn("Profile Switch"); when(MainApp.gs(R.string.configbuilder_insulin)).thenReturn("Insulin"); when(MainApp.gs(R.string.bolusdelivering)).thenReturn("Delivering 0.0U"); + when(MainApp.gs(R.string.profile_per_unit)).thenReturn("/U"); + when(MainApp.gs(R.string.profile_carbs_per_unit)).thenReturn("g/U"); + when(MainApp.gs(R.string.profile_ins_units_per_hout)).thenReturn("U/h"); } public static MainApp mockMainApp() {