From 6e90920233cc9a7c9feb040dea22cda837715c39 Mon Sep 17 00:00:00 2001 From: Petr Vobornik Date: Tue, 14 May 2013 17:36:28 +0200 Subject: Move spec modifications from facet factories to pre_ops Spec modifications in factories makes inheritance and extensibility more difficult. Moving them to pre_ops allows modification of their output by other pre_ops. https://fedorahosted.org/freeipa/ticket/3605 --- install/ui/test/entity_tests.js | 8 -------- 1 file changed, 8 deletions(-) (limited to 'install/ui/test/entity_tests.js') diff --git a/install/ui/test/entity_tests.js b/install/ui/test/entity_tests.js index 8dbeab2f..b4ac91b6 100644 --- a/install/ui/test/entity_tests.js +++ b/install/ui/test/entity_tests.js @@ -39,14 +39,6 @@ module('entity',{ mod_search.register(); - reg.facet.register({ - type: 'search', - factory: IPA.search_facet, - pre_ops: [ - mod_facet.facet_preops.search - ] - }); - IPA.init({ url: 'data', on_success: function(data, text_status, xhr) { -- cgit