From cab88a70149d7a1302d1e1e930fc19f909086a25 Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Thu, 4 Jun 2009 03:33:29 +0000 Subject: #220233 by Berdir, marcingy, et al: Add useful API functions for extracting node type data. --- modules/simpletest/drupal_web_test_case.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/simpletest') 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( -- cgit v1.2.3