diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-06-27 17:29:38 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-06-27 17:29:38 +0000 |
commit | 27ffb437a2291a2cf751467d00a9dbe9b3ab1565 (patch) | |
tree | 67099cb5cdc43d2948a4d5547e55011db0358f43 | |
parent | 7194b5b7e8f30fac878f5b1cb021803774f7026a (diff) | |
download | brdo-27ffb437a2291a2cf751467d00a9dbe9b3ab1565.tar.gz brdo-27ffb437a2291a2cf751467d00a9dbe9b3ab1565.tar.bz2 |
#504016 by catch: Remove faulty assertion that makes assumptions about default installed modules.
-rw-r--r-- | modules/system/system.test | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/modules/system/system.test b/modules/system/system.test index 18c420ee6..17694ca98 100644 --- a/modules/system/system.test +++ b/modules/system/system.test @@ -425,18 +425,13 @@ class AdminOverviewTestCase extends DrupalWebTestCase { function checkOverview(array $panels = array()) { if ($this->parse()) { $found = 0; - $extra = 0; $divs = $this->xpath("//div[@class='admin-panel']"); foreach ($divs as $panel) { if (in_array(trim($panel->h3), $panels)) { $found++; } - else { - $extra++; - } } $this->assertTrue(count($panels) == $found, t('Required panels found.')); - $this->assertFalse($extra, t('No extra panels found.')); } } |