diff --git a/tests/phpunit/tests/functions/anonymization.php b/tests/phpunit/tests/functions/anonymization.php
index 9ca33b441e..b0dfafa528 100644
--- a/tests/phpunit/tests/functions/anonymization.php
+++ b/tests/phpunit/tests/functions/anonymization.php
@@ -26,6 +26,8 @@ class Tests_Functions_Anonymization extends WP_UnitTestCase {
 	 * @ticket 41083
 	 * @ticket 43545
 	 *
+	 * @covers ::wp_privacy_anonymize_ip
+	 *
 	 * @param string $raw_ip          Raw IP address.
 	 * @param string $expected_result Expected result.
 	 */
@@ -56,6 +58,22 @@ class Tests_Functions_Anonymization extends WP_UnitTestCase {
 				null,
 				'0.0.0.0',
 			),
+			array(
+				false,
+				'0.0.0.0',
+			),
+			array(
+				true,
+				'0.0.0.0',
+			),
+			array(
+				0,
+				'0.0.0.0',
+			),
+			array(
+				1,
+				'0.0.0.0',
+			),
 			array(
 				'',
 				'0.0.0.0',
@@ -166,6 +184,8 @@ class Tests_Functions_Anonymization extends WP_UnitTestCase {
 	 * @requires function inet_ntop
 	 * @requires function inet_pton
 	 *
+	 * @covers ::wp_privacy_anonymize_ip
+	 *
 	 * @param string $raw_ip          Raw IP address.
 	 * @param string $expected_result Expected result.
 	 */