summaryrefslogtreecommitdiffstats
path: root/core/modules/comment/lib/Drupal/comment/Tests/CommentFieldsTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/comment/lib/Drupal/comment/Tests/CommentFieldsTest.php')
-rw-r--r--core/modules/comment/lib/Drupal/comment/Tests/CommentFieldsTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/modules/comment/lib/Drupal/comment/Tests/CommentFieldsTest.php b/core/modules/comment/lib/Drupal/comment/Tests/CommentFieldsTest.php
index f3f6352..ab03d41 100644
--- a/core/modules/comment/lib/Drupal/comment/Tests/CommentFieldsTest.php
+++ b/core/modules/comment/lib/Drupal/comment/Tests/CommentFieldsTest.php
@@ -72,7 +72,7 @@ class CommentFieldsTest extends CommentTestBase {
$edit = array();
$edit['modules[Core][comment][enable]'] = FALSE;
$this->drupalPost('admin/modules', $edit, t('Save configuration'));
- $this->rebuildContainer();
+ $this->resetAll();
$this->assertFalse(module_exists('comment'), 'Comment module disabled.');
// Enable core content type modules (book, and poll).
@@ -85,7 +85,7 @@ class CommentFieldsTest extends CommentTestBase {
$edit = array();
$edit['modules[Core][comment][enable]'] = 'comment';
$this->drupalPost('admin/modules', $edit, t('Save configuration'));
- $this->rebuildContainer();
+ $this->resetAll();
$this->assertTrue(module_exists('comment'), 'Comment module enabled.');
// Create nodes of each type.