/** * testSetUserProfileConfig */ public function testSetUserProfileConfig() { $config = $this->_instance->getUserProfileConfig(); $idx = array_search('n_prefix', $config['readableFields']); if ($idx !== false) { unset($config['readableFields'][$idx]); } $idx = array_search('tel_home', $config['updateableFields']); if ($idx !== false) { unset($config['updateableFields'][$idx]); } $this->_instance->setUserProfileConfig($config); }