diff options
author | Dries Buytaert <dries@buytaert.net> | 2008-08-22 12:35:55 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2008-08-22 12:35:55 +0000 |
commit | c15bcc0653bbeff88c44d5d9e6a199ccb35e9c22 (patch) | |
tree | 2c58de5e38920265a377a620f2f12f638ffe4e61 /modules/system | |
parent | f0b1d9f8d3070c82bc067522f1e63210017c0ac7 (diff) | |
download | brdo-c15bcc0653bbeff88c44d5d9e6a199ccb35e9c22.tar.gz brdo-c15bcc0653bbeff88c44d5d9e6a199ccb35e9c22.tar.bz2 |
- Patch #297869 by boombatower: add xpath method to simpletest and refactor existing tests.
Diffstat (limited to 'modules/system')
-rw-r--r-- | modules/system/system.test | 2 |
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++; |