summaryrefslogtreecommitdiff
path: root/modules/simpletest
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-09-17 03:12:41 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-09-17 03:12:41 +0000
commit65654b29e8987f8c2a58fcb5e6dc090d80827887 (patch)
treee34d891f5c3cd9acc7d15d9cad46164e248a27c1 /modules/simpletest
parent02d18aa68d23547bc342f681036afdcb6b5facf2 (diff)
downloadbrdo-65654b29e8987f8c2a58fcb5e6dc090d80827887.tar.gz
brdo-65654b29e8987f8c2a58fcb5e6dc090d80827887.tar.bz2
#574796 by sun: Fixed 'Article' content-type permissions not granted to admin role after installation.
Diffstat (limited to 'modules/simpletest')
-rw-r--r--modules/simpletest/drupal_web_test_case.php2
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 24b173251..548f5a45b 100644
--- a/modules/simpletest/drupal_web_test_case.php
+++ b/modules/simpletest/drupal_web_test_case.php
@@ -1063,7 +1063,7 @@ class DrupalWebTestCase extends DrupalTestCase {
// Install the modules specified by the default profile.
drupal_install_modules($profile_details['dependencies'], TRUE);
- node_type_clear();
+ drupal_static_reset('_node_types_build');
// Install additional modules one at a time in order to make sure that the
// list of modules is updated between each module's installation.