summaryrefslogtreecommitdiff
path: root/modules/system
diff options
context:
space:
mode:
Diffstat (limited to 'modules/system')
-rw-r--r--modules/system/system.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/system/system.test b/modules/system/system.test
index 22fc1fb60..c3950fca8 100644
--- a/modules/system/system.test
+++ b/modules/system/system.test
@@ -283,7 +283,7 @@ class AdminOverviewTestCase extends DrupalWebTestCase {
if ($this->parse()) {
$found = 0;
$extra = 0;
- $divs = $this->elements->xpath("//div[@class='admin-panel']");
+ $divs = $this->xpath("//div[@class='admin-panel']");
foreach ($divs as $panel) {
if (in_array(trim($panel->h3), $panels)) {
$found++;