diff options
Diffstat (limited to 'modules/simpletest/tests/bootstrap.test')
-rw-r--r-- | modules/simpletest/tests/bootstrap.test | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/modules/simpletest/tests/bootstrap.test b/modules/simpletest/tests/bootstrap.test index e4ef2d717..ff71a167a 100644 --- a/modules/simpletest/tests/bootstrap.test +++ b/modules/simpletest/tests/bootstrap.test @@ -405,16 +405,11 @@ class BootstrapResettableStaticTestCase extends DrupalUnitTestCase { $var = 'bar'; drupal_static_reset($name); $this->assertEqual($var, 'foo', t('Variable was reset after second invocation of name-specific reset.')); - - // Ensure that batch processing doesn't get reset. - $batch = &batch_get(); - $batch_saved = $batch; $var = 'bar'; drupal_static_reset(); $this->assertEqual($var, 'foo', t('Variable was reset after first invocation of global reset.')); $var = 'bar'; drupal_static_reset(); $this->assertEqual($var, 'foo', t('Variable was reset after second invocation of global reset.')); - $batch = $batch_saved; } } |