mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/16512] Adjust test to use better assertions
PHPBB3-16512
This commit is contained in:
parent
68122fca27
commit
7ef87e3fbd
1 changed files with 3 additions and 3 deletions
|
@ -44,8 +44,8 @@ class phpbb_functions_user_whois_test extends phpbb_test_case
|
||||||
public function test_ip_whois($ip)
|
public function test_ip_whois($ip)
|
||||||
{
|
{
|
||||||
$ip_whois = user_ipwhois($ip);
|
$ip_whois = user_ipwhois($ip);
|
||||||
$this->assertNotContains('Query terms are ambiguous', $ip_whois);
|
$this->assertStringNotContainsString('Query terms are ambiguous', $ip_whois);
|
||||||
$this->assertNotContains('no entries found', $ip_whois);
|
$this->assertStringNotContainsString('no entries found', $ip_whois);
|
||||||
$this->assertNotContains('ERROR', $ip_whois);
|
$this->assertStringNotContainsString('ERROR', $ip_whois);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue