Fixed Google search test for GitHub CI.
This commit is contained in:
parent
2c1ea56e79
commit
e873d01338
2 changed files with 4 additions and 4 deletions
|
@ -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 mobibtopia").contains("mobitopia")
|
||||
assertThat(messages[0].msg).describedAs("found mobibtopia").containsIgnoringCase("mobitopia")
|
||||
messages = searchGoogle("aapl", apiKey, cseKey)
|
||||
assertThat(messages).describedAs("aapl results not empty").isNotEmpty
|
||||
assertThat(messages[0].msg).describedAs("found apple").containsIgnoringCase("apple")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue