diff options
author | Petr Vobornik <pvoborni@redhat.com> | 2013-04-08 16:58:51 +0200 |
---|---|---|
committer | Petr Vobornik <pvoborni@redhat.com> | 2013-05-06 16:22:19 +0200 |
commit | 953f59941514ddc3582e51179e20eda9f124684c (patch) | |
tree | 37f1f17cf5db21fdf2ed6b9befd2024c2585bce8 /install/ui/test/aci_tests.js | |
parent | 8a0f60cf4607f50af67833f31d6a21cd021581db (diff) | |
download | freeipa-953f59941514ddc3582e51179e20eda9f124684c.tar.gz freeipa-953f59941514ddc3582e51179e20eda9f124684c.tar.xz freeipa-953f59941514ddc3582e51179e20eda9f124684c.zip |
Fix unit tests
https://fedorahosted.org/freeipa/ticket/3236
Diffstat (limited to 'install/ui/test/aci_tests.js')
-rw-r--r-- | install/ui/test/aci_tests.js | 8 |
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() { |