Fix one of DatabaseHelperTest to verify downgrade from T to S
Bug: 214354131
Test: atest packages/providers/MediaProvider/tests/src/com/android/providers/media/DatabaseHelperTest.java
Change-Id: I85bdccd81ef2ee9023a5edaf94aca55bebb29844
(cherry picked from commit 44be4b1b88ea791a8ce335bc742df857bbadf73c)
diff --git a/tests/src/com/android/providers/media/DatabaseHelperTest.java b/tests/src/com/android/providers/media/DatabaseHelperTest.java
index 484e3af..36ffd64 100644
--- a/tests/src/com/android/providers/media/DatabaseHelperTest.java
+++ b/tests/src/com/android/providers/media/DatabaseHelperTest.java
@@ -262,7 +262,7 @@
@Test
public void testTtoS() throws Exception {
- assertDowngrade(DatabaseHelperT.class, DatabaseHelperR.class);
+ assertDowngrade(DatabaseHelperT.class, DatabaseHelperS.class);
}
private void assertDowngrade(Class<? extends DatabaseHelper> before,