diff --git a/tests/php-unit-tests/unitary-tests/core/RestServicesTest.php b/tests/php-unit-tests/unitary-tests/core/RestServicesTest.php index 84f8692d0..0e013338a 100644 --- a/tests/php-unit-tests/unitary-tests/core/RestServicesTest.php +++ b/tests/php-unit-tests/unitary-tests/core/RestServicesTest.php @@ -137,13 +137,4 @@ class RestServicesTest extends ItopDataTestCase '{"objects":{"UserLocal::-1":{"code":0,"message":"ok","class":"UserLocal","key":-1,"fields":{"login":"******","password":"******"}}},"code":0,"message":null}' ], ]; } - - function recursive_unset(&$array, $unwanted_key) { - unset($array[$unwanted_key]); - foreach ($array as &$value) { - if (is_array($value)) { - $this->recursive_unset($value, $unwanted_key); - } - } - } }