diff options
Diffstat (limited to 'modules/simpletest')
-rw-r--r-- | modules/simpletest/drupal_web_test_case.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/simpletest/drupal_web_test_case.php b/modules/simpletest/drupal_web_test_case.php index f07adff1d..aaf944165 100644 --- a/modules/simpletest/drupal_web_test_case.php +++ b/modules/simpletest/drupal_web_test_case.php @@ -701,7 +701,7 @@ class DrupalWebTestCase extends DrupalTestCase { // Find a non-existent random type name. do { $name = strtolower($this->randomName(8)); - } while (node_get_types('type', $name)); + } while (node_type_get_type($name)); // Populate defaults array. $defaults = array( |