From 734972e2f5d149bf5f74a8fa00e000dbf5613106 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 5 Oct 2010 02:17:44 +0000 Subject: - Patch #700558 by dww: add test to ensure filename extensions are properly merged in the Update manager UI. --- modules/update/tests/update_test.module | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'modules/update/tests') 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'), + ), + ); +} -- cgit v1.2.3