From a606025bdc759a152ff4f931de80e03c36cb0d97 Mon Sep 17 00:00:00 2001 From: Tif Tran Date: Sat, 20 Jan 2024 17:45:26 -0800 Subject: [PATCH] Bug 1874048 - Add score to AMP suggestions --- .../feature/fxsuggest/FxSuggestSuggestionProviderTest.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/android-components/components/feature/fxsuggest/src/test/java/mozilla/components/feature/fxsuggest/FxSuggestSuggestionProviderTest.kt b/android-components/components/feature/fxsuggest/src/test/java/mozilla/components/feature/fxsuggest/FxSuggestSuggestionProviderTest.kt index 91dcc3f990a9..518a8046e3a8 100644 --- a/android-components/components/feature/fxsuggest/src/test/java/mozilla/components/feature/fxsuggest/FxSuggestSuggestionProviderTest.kt +++ b/android-components/components/feature/fxsuggest/src/test/java/mozilla/components/feature/fxsuggest/FxSuggestSuggestionProviderTest.kt @@ -98,6 +98,7 @@ class FxSuggestSuggestionProviderTest { impressionUrl = "https://example.com/impression_url", clickUrl = "https://example.com/click_url", rawClickUrl = "https://example.com/click_url", + score = 0.3, ), Suggestion.Wikipedia( title = "Las Vegas", @@ -217,6 +218,7 @@ class FxSuggestSuggestionProviderTest { impressionUrl = "https://example.com/impression_url", clickUrl = "https://example.com/click_url", rawClickUrl = "https://example.com/click_url", + score = 0.3, ), ), )