File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
firebase-inappmessaging/src/test/java/com/google/firebase/inappmessaging/internal Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 4949import org .mockito .Mock ;
5050import org .mockito .MockitoAnnotations ;
5151import org .robolectric .RobolectricTestRunner ;
52+ import org .robolectric .RuntimeEnvironment ;
5253import org .robolectric .annotation .Config ;
5354
5455@ RunWith (RobolectricTestRunner .class )
@@ -210,7 +211,7 @@ public void getFiams_signalsContainsPlatformVersion() {
210211 fetchEligibleCampaignsRequestArgcaptor .getValue ().getClientSignals ();
211212
212213 // sdk version set in roboelectric annotation above
213- assertThat (clientSignals .getPlatformVersion ()).isEqualTo (String .valueOf (Config . OLDEST_SDK ));
214+ assertThat (clientSignals .getPlatformVersion ()).isEqualTo (String .valueOf (RuntimeEnvironment . getApiLevel () ));
214215 }
215216
216217 @ Test
You can’t perform that action at this time.
0 commit comments