summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAlexander Dorokhine <adorokhine@google.com>2020-09-18 15:43:24 -0700
committerAlexander Dorokhine <adorokhine@google.com>2020-10-02 13:36:06 -0700
commit5c53bcde1655438775a0f231ff21e046bbad73f0 (patch)
treee60a37565015afd5a1dad4c7c0cd7b036527b88e /tests
parentdd2c1d115987cc82f7b45b43664ae550f21728c1 (diff)
downloadQuickAccessWallet-5c53bcde1655438775a0f231ff21e046bbad73f0.tar.gz
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: I07006b01c020bb9dbbff3ad215210a17d4b8399c Change-Id: I07006b01c020bb9dbbff3ad215210a17d4b8399c (cherry picked from commit 48c5c8a3180540ec784cd300e0f5001f0d4e3fba)
Diffstat (limited to 'tests')
-rw-r--r--tests/robolectric/src/com/android/systemui/plugin/globalactions/wallet/WalletPanelViewControllerTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/robolectric/src/com/android/systemui/plugin/globalactions/wallet/WalletPanelViewControllerTest.java b/tests/robolectric/src/com/android/systemui/plugin/globalactions/wallet/WalletPanelViewControllerTest.java
index 34c83eb..fedc25c 100644
--- a/tests/robolectric/src/com/android/systemui/plugin/globalactions/wallet/WalletPanelViewControllerTest.java
+++ b/tests/robolectric/src/com/android/systemui/plugin/globalactions/wallet/WalletPanelViewControllerTest.java
@@ -131,7 +131,7 @@ public class WalletPanelViewControllerTest {
View view1 = mViewController.getPanelContent();
View view2 = mViewController.getPanelContent();
- assertThat(view1).isSameAs(view2);
+ assertThat(view1).isSameInstanceAs(view2);
verify(mWalletClient, never()).getWalletCards(any(), any(), any());
}