diff options
Diffstat (limited to 'install/ui/test/details_tests.js')
-rw-r--r-- | install/ui/test/details_tests.js | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/install/ui/test/details_tests.js b/install/ui/test/details_tests.js index 122234e78..c6a55cda9 100644 --- a/install/ui/test/details_tests.js +++ b/install/ui/test/details_tests.js @@ -25,15 +25,12 @@ module('details', { setup: function() { IPA.ajax_options.async = false; - IPA.init( - "data", - true, - function(data, text_status, xhr) { - }, - function(xhr, text_status, error_thrown) { + IPA.init({ + url: 'data', + on_error: function(xhr, text_status, error_thrown) { ok(false, "ipa_init() failed: "+error_thrown); } - ); + }); IPA.nav = {}; |