diff options
author | Dries Buytaert <dries@buytaert.net> | 2008-10-31 02:18:22 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2008-10-31 02:18:22 +0000 |
commit | e2a6a3ed61a405bcda47cf997b06c3cb1cb1c0e0 (patch) | |
tree | a1800065aa98d7b480259839b370dbe4b758ce4e /modules/simpletest/tests/registry.test | |
parent | e6a57469694fea2d576efc9c1d8b46fb6c1cb6c3 (diff) | |
download | brdo-e2a6a3ed61a405bcda47cf997b06c3cb1cb1c0e0.tar.gz brdo-e2a6a3ed61a405bcda47cf997b06c3cb1cb1c0e0.tar.bz2 |
- Patch #298600 by chx, justinrandell, Damien, et al: make module_implements work regardless of bootstrap phase.
Diffstat (limited to 'modules/simpletest/tests/registry.test')
-rw-r--r-- | modules/simpletest/tests/registry.test | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/modules/simpletest/tests/registry.test b/modules/simpletest/tests/registry.test index a167178b6..794403dac 100644 --- a/modules/simpletest/tests/registry.test +++ b/modules/simpletest/tests/registry.test @@ -122,11 +122,9 @@ class RegistryParseFilesTestCase extends DrupalWebTestCase { function getFiles() { $files = array(); foreach ($this->fileTypes as $fileType) { + $files[$this->$fileType->fileName] = array('module' => '', 'weight' => 0); if ($fileType == 'existing_changed') { - $files[$this->$fileType->fileName] = array('md5' => $this->$fileType->fakeMD5); - } - else { - $files[$this->$fileType->fileName] = array(); + $files[$this->$fileType->fileName]['md5'] = $this->$fileType->fakeMD5; } } return $files; |