Fix robo test case failed

Bug: 300134365
Test: robotest
Change-Id: I144fbbc962a479c97312cee1645c5a3d70351542
This commit is contained in:
Edgar Wang
2023-09-20 11:45:05 +08:00
parent 5872a8f573
commit 292f407071
18 changed files with 54 additions and 20 deletions

View File

@@ -145,7 +145,7 @@ public class ContextualCardLoaderTest {
@Test
public void getCardCount_hasConfiguredCardCount_returnConfiguredCardCount() {
int configCount = 4;
Settings.Global.putLong(mContext.getContentResolver(),
Settings.Global.putInt(mContext.getContentResolver(),
ContextualCardLoader.CONTEXTUAL_CARD_COUNT, configCount);
assertThat(mContextualCardLoader.getCardCount()).isEqualTo(configCount);