summaryrefslogtreecommitdiffstats
path: root/install/ui/test/aci_tests.js
diff options
context:
space:
mode:
Diffstat (limited to 'install/ui/test/aci_tests.js')
-rw-r--r--install/ui/test/aci_tests.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/install/ui/test/aci_tests.js b/install/ui/test/aci_tests.js
index fa1e971b1..2b8285794 100644
--- a/install/ui/test/aci_tests.js
+++ b/install/ui/test/aci_tests.js
@@ -101,10 +101,10 @@ module('aci', {
IPA.permission_target_policy('target')
]
});
- entity.add_facet('details', target_facet);
-
- target_container = $('<div id="target"/>').appendTo(document.body);
- target_facet.create(target_container);
+ entity.add_facet('details', target_facet);
+ target_container = $('<div id="content"/>').appendTo(document.body);
+ target_facet.container_node = target_container[0];
+ target_facet.create();
target_widget = target_facet.widgets.get_widget('target');
},
teardown: function() {