t('[220233] Put node_get_types() out of its misery'), 'desc' => t('This function is basically trying to do no less than about 5 different things, depending on what combination of data types is passed in. That\'s completely insane. We need to either split this up into multiple API functions, or at least rename it to node_get_info() or something.'), 'group' => t('Drupal 7 Tests'), ); } // This is not 'a test' actually, just a test of presence function testIssue() { $this->assertTrue(function_exists('node_get_types'), t('Check on existence of node_get_types()')); $this->assertTrue(function_exists('node_get_type'), t('Check on existence of node_get_type()')); $this->assertTrue(function_exists('node_get_names'), t('Check on existence of node_get_names()')); $this->assertTrue(function_exists('node_get_name'), t('Check on existence of node_get_name()')); $this->assertTrue(function_exists('node_get_module'), t('Check on existence of node_get_module()')); $this->assertTrue(function_exists('_node_get_types'), t('Check on existence of _node_get_types()')); } }