Migrate away from deprecated Truth APIs.
This is a transitional step towards truth 1.0.1, where these APIs have
been completely removed.
Bug: 168765701
Test: m checkbuild
Merged-In: I76f9c37cb699ce6ab8715ffe35d11668ccbceea1
Change-Id: I76f9c37cb699ce6ab8715ffe35d11668ccbceea1
(cherry picked from commit 46e85a2fad
)
This commit is contained in:
@@ -54,7 +54,7 @@ public class TimeZoneDataTest {
|
||||
when(countryTimeZones.getTimeZoneMappings()).thenReturn(emptyList());
|
||||
when(mCountryZonesFinder.lookupCountryTimeZones("US")).thenReturn(countryTimeZones);
|
||||
assertThat(timeZoneData.lookupCountryTimeZones("US").getCountryTimeZones())
|
||||
.isSameAs(countryTimeZones);
|
||||
.isSameInstanceAs(countryTimeZones);
|
||||
}
|
||||
|
||||
@Test
|
||||
|
Reference in New Issue
Block a user