summaryrefslogtreecommitdiffstats
path: root/install/ui/test/aci_tests.js
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2013-04-15 19:23:15 +0200
committerPetr Vobornik <pvoborni@redhat.com>2013-05-06 16:22:26 +0200
commit49b7f4c06e17b91372decf33b812a7fbbfa01ff4 (patch)
tree5fc871af96dec687a36e0986c0c3b829ce9de3b5 /install/ui/test/aci_tests.js
parent849ece00e32747238c819eb7d3ac70f0bdc90833 (diff)
downloadfreeipa-49b7f4c06e17b91372decf33b812a7fbbfa01ff4.tar.gz
freeipa-49b7f4c06e17b91372decf33b812a7fbbfa01ff4.tar.xz
freeipa-49b7f4c06e17b91372decf33b812a7fbbfa01ff4.zip
Replace IPA.widget_factories and IPA_field_factories with registry
https://fedorahosted.org/freeipa/ticket/3235
Diffstat (limited to 'install/ui/test/aci_tests.js')
-rw-r--r--install/ui/test/aci_tests.js15
1 files changed, 14 insertions, 1 deletions
diff --git a/install/ui/test/aci_tests.js b/install/ui/test/aci_tests.js
index 2b8285794..3ced0bd47 100644
--- a/install/ui/test/aci_tests.js
+++ b/install/ui/test/aci_tests.js
@@ -18,7 +18,15 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-define(['freeipa/ipa', 'freeipa/jquery', 'freeipa/aci'], function(IPA, $) {
+define([
+ 'freeipa/aci',
+ 'freeipa/field',
+ 'freeipa/ipa',
+ 'freeipa/jquery',
+ 'freeipa/reg',
+ 'freeipa/widget'
+ ],
+ function(aci, fields, IPA, $, reg, widgets) {
return function() {
var target_container;
@@ -29,6 +37,11 @@ var group_entity = IPA.entity({ name: 'group' });
module('aci', {
setup: function() {
+
+ fields.register();
+ widgets.register();
+ aci.register();
+
IPA.ajax_options.async = false;
IPA.init({
url: 'data',