Fixed Google search test, again.

This commit is contained in:
Erik C. Thauvin 2021-05-11 17:51:52 -07:00
parent b98879bd7d
commit 0d3dc268ca
2 changed files with 4 additions and 4 deletions

View file

@ -49,7 +49,7 @@ class GoogleSearchTest : LocalProperties() {
try {
var messages = searchGoogle("mobitopia", apiKey, cseKey)
assertThat(messages).describedAs("mobitopia results not empty").isNotEmpty
assertThat(messages[0].msg).describedAs("found freenode").contains("freenode")
assertThat(messages[0].msg).describedAs("found mobibtopia").contains("mobitopia")
messages = searchGoogle("aapl", apiKey, cseKey)
assertThat(messages).describedAs("aapl results not empty").isNotEmpty
assertThat(messages[0].msg).describedAs("found apple").containsIgnoringCase("apple")