Skip to content

Commit

Permalink
Removed some debugging code
Browse files Browse the repository at this point in the history
  • Loading branch information
bnayfeh committed Nov 7, 2024
1 parent 0578b26 commit 74facc7
Showing 1 changed file with 0 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,6 @@ private static String engine(WebSearchOrganicResult webSearchOrganicResult) {
return metadataForComparison(webSearchOrganicResult, "engine");
}

private static String engines(WebSearchRequest webSearchRequest) {
return (String) webSearchRequest.additionalParams().get("engines");
}

@Test
void should_search_with_start_page() {
// given
Expand Down Expand Up @@ -148,14 +144,6 @@ void should_search_with_additional_params() {
WebSearchResults webSearchResults2 = searchEngine().search(request2);
WebSearchResults webSearchResults3 = searchEngine().search(request3);

System.out.println(engines(request1));
System.out.println(engines(request2));
System.out.println(engines(request3));

System.out.println(engine(webSearchResults1.results().get(0)));
System.out.println(engine(webSearchResults2.results().get(0)));
System.out.println(engine(webSearchResults3.results().get(0)));

// then
assertNotEquals(engine(webSearchResults1.results().get(0)), engine(webSearchResults2.results().get(0)));
assertNotEquals(engine(webSearchResults1.results().get(0)), engine(webSearchResults3.results().get(0)));
Expand Down

0 comments on commit 74facc7

Please sign in to comment.