Commit 27ffb437 authored by webchick's avatar webchick
Browse files

#504016 by catch: Remove faulty assertion that makes assumptions about default installed modules.

parent 7194b5b7
......@@ -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.'));
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment