diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-10-05 02:17:44 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-10-05 02:17:44 +0000 |
commit | 734972e2f5d149bf5f74a8fa00e000dbf5613106 (patch) | |
tree | e1695dc2f9546e29e4cb6c759d88f4f3f82bcede /modules/update/tests | |
parent | fe1e82eebc58b4b1e9a907d3cfb40f09ab653d9a (diff) | |
download | brdo-734972e2f5d149bf5f74a8fa00e000dbf5613106.tar.gz brdo-734972e2f5d149bf5f74a8fa00e000dbf5613106.tar.bz2 |
- Patch #700558 by dww: add test to ensure filename extensions are properly merged in the Update manager UI.
Diffstat (limited to 'modules/update/tests')
-rw-r--r-- | modules/update/tests/update_test.module | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/modules/update/tests/update_test.module b/modules/update/tests/update_test.module index 34608363a..9b8de5b45 100644 --- a/modules/update/tests/update_test.module +++ b/modules/update/tests/update_test.module @@ -99,3 +99,16 @@ function update_test_mock_page($project_name) { $path = drupal_get_path('module', 'update_test'); readfile("$path/$project_name.$availability_scenario.xml"); } + +/** + * Implement hook_archiver_info(). + */ +function update_test_archiver_info() { + return array( + 'update_test_archiver' => array( + // This is bogus, we only care about the extensions for now. + 'class' => 'ArchiverUpdateTest', + 'extensions' => array('update-test-extension'), + ), + ); +} |