From 3392f3aa091e21dca193c8b9c601a4d8c768b154 Mon Sep 17 00:00:00 2001 From: 3D-I <480857+3D-I@users.noreply.github.com> Date: Tue, 2 Jun 2020 14:04:02 +0200 Subject: [PATCH] [ticket/16508] Fix WhoIs lookup PHPBB3-16508 --- tests/functions_user/whois_test.php | 32 +++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 tests/functions_user/whois_test.php diff --git a/tests/functions_user/whois_test.php b/tests/functions_user/whois_test.php new file mode 100644 index 0000000000..a9ff387728 --- /dev/null +++ b/tests/functions_user/whois_test.php @@ -0,0 +1,32 @@ +assertNotContains('Query terms are ambiguous', $ip_whois); + $this->assertNotContains('no entries found', $ip_whois); + $this->assertNotContains('ERROR', $ip_whois); + } +}