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 Change-Id: I76f9c37cb699ce6ab8715ffe35d11668ccbceea1
This commit is contained in:
@@ -48,7 +48,7 @@ public class SecurityFeatureProviderImplTest {
|
||||
final TrustAgentManager m1 = mImpl.getTrustAgentManager();
|
||||
final TrustAgentManager m2 = mImpl.getTrustAgentManager();
|
||||
|
||||
assertThat(m1).isSameAs(m2);
|
||||
assertThat(m1).isSameInstanceAs(m2);
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -56,6 +56,6 @@ public class SecurityFeatureProviderImplTest {
|
||||
final LockPatternUtils l1 = mImpl.getLockPatternUtils(mContext);
|
||||
final LockPatternUtils l2 = mImpl.getLockPatternUtils(mContext);
|
||||
|
||||
assertThat(l1).isSameAs(l2);
|
||||
assertThat(l1).isSameInstanceAs(l2);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user