From fa6336f416c855a0e3c89f3c6347b5a9aa6f245c Mon Sep 17 00:00:00 2001 From: Victor Andreasson Date: Sun, 8 Sep 2024 21:58:35 +0200 Subject: [PATCH] fixup! Upgrade Material and Lifecycle --- .../java/com/orgzly/android/espresso/AgendaFragmentTest.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/androidTest/java/com/orgzly/android/espresso/AgendaFragmentTest.java b/app/src/androidTest/java/com/orgzly/android/espresso/AgendaFragmentTest.java index afa62cb76..b1814e6b2 100644 --- a/app/src/androidTest/java/com/orgzly/android/espresso/AgendaFragmentTest.java +++ b/app/src/androidTest/java/com/orgzly/android/espresso/AgendaFragmentTest.java @@ -11,6 +11,7 @@ import static androidx.test.espresso.matcher.ViewMatchers.withId; import static androidx.test.espresso.matcher.ViewMatchers.withParent; import static androidx.test.espresso.matcher.ViewMatchers.withText; +import static com.orgzly.android.espresso.util.EspressoUtils.grantAlarmsAndRemindersPermission; import static com.orgzly.android.espresso.util.EspressoUtils.onItemInAgenda; import static com.orgzly.android.espresso.util.EspressoUtils.onNotesInAgenda; import static com.orgzly.android.espresso.util.EspressoUtils.recyclerViewItemCount; @@ -64,6 +65,7 @@ private ActivityScenario defaultSetUp() { "**** Note 2\n" + "SCHEDULED: <2014-01-04 Sat>--<2044-01-10 Fri>\n"); + grantAlarmsAndRemindersPermission(); return ActivityScenario.launch(MainActivity.class); }