From c15bcc0653bbeff88c44d5d9e6a199ccb35e9c22 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 22 Aug 2008 12:35:55 +0000 Subject: - Patch #297869 by boombatower: add xpath method to simpletest and refactor existing tests. --- modules/system/system.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/system') 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++; -- cgit v1.2.3