Skip to content
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.

Commit

Permalink
Mock new settings for startup metrics tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Elise Richards committed Jul 29, 2021
1 parent be03780 commit b731a96
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/src/test/java/org/mozilla/fenix/FenixApplicationTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,8 @@ class FenixApplicationTest {
every { settings.creditCardsSavedCount } returns 1
every { settings.creditCardsDeletedCount } returns 2
every { settings.creditCardsAutofilledCount } returns 3
every { settings.recentBookmarkClickedCount } returns 3
every { settings.recentBookmarkShowAllCount } returns 3

application.setStartupMetrics(browserStore, settings, browsersCache, mozillaProductDetector)

Expand Down

0 comments on commit b731a96

Please sign in to comment.