Fixed Google search test for GitHub CI.

This commit is contained in:
Erik C. Thauvin 2021-05-28 11:37:25 -07:00
parent 2c1ea56e79
commit e873d01338
2 changed files with 4 additions and 4 deletions

View file

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

View file

@ -1,9 +1,9 @@
#Generated by the Semver Plugin for Gradle #Generated by the Semver Plugin for Gradle
#Fri May 28 11:26:02 PDT 2021 #Fri May 28 11:36:41 PDT 2021
version.buildmeta=854 version.buildmeta=855
version.major=0 version.major=0
version.minor=8 version.minor=8
version.patch=0 version.patch=0
version.prerelease=beta version.prerelease=beta
version.project=mobibot version.project=mobibot
version.semver=0.8.0-beta+854 version.semver=0.8.0-beta+855