1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-04-14 12:52:08 +02:00

[ticket/16512] Adjust test to use better assertions

PHPBB3-16512
This commit is contained in:
rxu 2020-08-14 04:24:06 +07:00
parent 68122fca27
commit 7ef87e3fbd
No known key found for this signature in database
GPG Key ID: 8EF9758E0A54D19E

View File

@ -44,8 +44,8 @@ class phpbb_functions_user_whois_test extends phpbb_test_case
public function test_ip_whois($ip)
{
$ip_whois = user_ipwhois($ip);
$this->assertNotContains('Query terms are ambiguous', $ip_whois);
$this->assertNotContains('no entries found', $ip_whois);
$this->assertNotContains('ERROR', $ip_whois);
$this->assertStringNotContainsString('Query terms are ambiguous', $ip_whois);
$this->assertStringNotContainsString('no entries found', $ip_whois);
$this->assertStringNotContainsString('ERROR', $ip_whois);
}
}