From 795c30f4092de16190052706383b5f3b139aaef3 Mon Sep 17 00:00:00 2001 From: rayworks Date: Tue, 8 Feb 2022 18:11:34 +0800 Subject: [PATCH] Fix the broken test --- .../com/example/android/uamp/media/library/MusicSourceTest.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/src/test/java/com/example/android/uamp/media/library/MusicSourceTest.kt b/common/src/test/java/com/example/android/uamp/media/library/MusicSourceTest.kt index 563812e3f..f5ff7bad0 100644 --- a/common/src/test/java/com/example/android/uamp/media/library/MusicSourceTest.kt +++ b/common/src/test/java/com/example/android/uamp/media/library/MusicSourceTest.kt @@ -28,6 +28,7 @@ import org.junit.Assert import org.junit.Test import org.junit.runner.RunWith import org.robolectric.RobolectricTestRunner +import org.robolectric.annotation.Config /** * A small set of Android integration tests for (primarily) [AbstractMusicSource]. @@ -36,6 +37,7 @@ import org.robolectric.RobolectricTestRunner * bottom of this file: [TestMusicSource]. */ @RunWith(RobolectricTestRunner::class) +@Config(maxSdk = 30) class MusicSourceTest { private val musicList = listOf(