Skip to content

Commit

Permalink
Update German Surprise me to duden.de
Browse files Browse the repository at this point in the history
  • Loading branch information
alessandroboron committed Jul 25, 2024
1 parent f9a2798 commit 1bf0e26
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 1bf0e26

Please sign in to comment.