X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fsystem%2Ftests%2Fsrc%2FFunctional%2FModule%2FVersionTest.php;fp=web%2Fcore%2Fmodules%2Fsystem%2Fsrc%2FTests%2FModule%2FVersionTest.php;h=7b325fef8f03edc915ff5df5c198ba1250d2b15c;hb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;hp=daad1a6679f4e47379e186e670ac99951944274f;hpb=aea91e65e895364e460983b890e295aa5d5540a5;p=yaffs-website diff --git a/web/core/modules/system/src/Tests/Module/VersionTest.php b/web/core/modules/system/tests/src/Functional/Module/VersionTest.php similarity index 91% rename from web/core/modules/system/src/Tests/Module/VersionTest.php rename to web/core/modules/system/tests/src/Functional/Module/VersionTest.php index daad1a667..7b325fef8 100644 --- a/web/core/modules/system/src/Tests/Module/VersionTest.php +++ b/web/core/modules/system/tests/src/Functional/Module/VersionTest.php @@ -1,6 +1,6 @@ drupalGet('admin/modules'); $checkbox = $this->xpath('//input[@id="edit-modules-module-test-enable"]'); - $this->assertEqual(!empty($checkbox[0]['disabled']), $i % 2, $dependencies[$i]); + $this->assertEqual(!empty($checkbox[0]->getAttribute('disabled')), $i % 2, $dependencies[$i]); } }