From 1bf0e2660bf8f075480a98c80bb0555e1b32e2c5 Mon Sep 17 00:00:00 2001 From: Alessandro Boron Date: Thu, 25 Jul 2024 09:34:29 +1000 Subject: [PATCH] Update German Surprise me to duden.de --- .../OnboardingHelpers/OnboardingSuggestedSitesProvider.swift | 2 +- DuckDuckGoTests/OnboardingSuggestedSitesProviderTests.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/DuckDuckGo/OnboardingHelpers/OnboardingSuggestedSitesProvider.swift b/DuckDuckGo/OnboardingHelpers/OnboardingSuggestedSitesProvider.swift index ea90ef1712..ab7a120bce 100644 --- a/DuckDuckGo/OnboardingHelpers/OnboardingSuggestedSitesProvider.swift +++ b/DuckDuckGo/OnboardingHelpers/OnboardingSuggestedSitesProvider.swift @@ -105,7 +105,7 @@ struct OnboardingSuggestedSitesProvider: OnboardingSuggestionsItemsProviding { private var surpriseMe: ContextualOnboardingListItem { let site: String switch Countries(rawValue: country) { - case .germany: site = "https://dict.leo.org/german-english/Ente" + case .germany: site = "https://duden.de" case .netherlands: site = "https://www.woorden.org/woord/eend" case .sweden: site = "https://www.synonymer.se/sv-syn/anka" default: site = "https:britannica.com/animal/duck" diff --git a/DuckDuckGoTests/OnboardingSuggestedSitesProviderTests.swift b/DuckDuckGoTests/OnboardingSuggestedSitesProviderTests.swift index 21877c1dd4..019cf2104b 100644 --- a/DuckDuckGoTests/OnboardingSuggestedSitesProviderTests.swift +++ b/DuckDuckGoTests/OnboardingSuggestedSitesProviderTests.swift @@ -65,7 +65,7 @@ class OnboardingSuggestedSitesProviderTests: XCTestCase { XCTAssertEqual(sitesList[0], ContextualOnboardingListItem.site(title: scheme + "bundesliga.de")) XCTAssertEqual(sitesList[1], ContextualOnboardingListItem.site(title: scheme + "tagesschau.de")) XCTAssertEqual(sitesList[2], ContextualOnboardingListItem.site(title: scheme + "galeria.de")) - XCTAssertEqual(sitesList[3], ContextualOnboardingListItem.surprise(title: "https://dict.leo.org/german-english/Ente")) + XCTAssertEqual(sitesList[3], ContextualOnboardingListItem.surprise(title: "https://duden.de")) } func testSuggestedSitesForCanada() {