Skip to content

Commit 32f7b44

Browse files
update google jobs test (assertion failed because query no longer > 5 results)
1 parent 6449271 commit 32f7b44

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎src/test/java/serpapi/example/GoogleJobsTest.java‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ public void search() throws SerpApiException {
2929
// run search
3030
Map<String, String> parameter = new HashMap<>();
3131
parameter.put("engine", "google_jobs");
32-
parameter.put("q", "coffee");
32+
parameter.put("q", "barista");
33+
parameter.put("location", "Austin, Texas, United States");
3334
JsonObject results = client.search(parameter);
3435
assertTrue(results.getAsJsonArray("jobs_results").size() > 5);
3536
}

0 commit comments

Comments
 (0)