From 27ffb437a2291a2cf751467d00a9dbe9b3ab1565 Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Sat, 27 Jun 2009 17:29:38 +0000 Subject: #504016 by catch: Remove faulty assertion that makes assumptions about default installed modules. --- modules/system/system.test | 5 ----- 1 file changed, 5 deletions(-) (limited to 'modules/system') 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.')); } } -- cgit v1.2.3