From 953f59941514ddc3582e51179e20eda9f124684c Mon Sep 17 00:00:00 2001 From: Petr Vobornik Date: Mon, 8 Apr 2013 16:58:51 +0200 Subject: Fix unit tests https://fedorahosted.org/freeipa/ticket/3236 --- install/ui/test/aci_tests.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'install/ui/test/aci_tests.js') diff --git a/install/ui/test/aci_tests.js b/install/ui/test/aci_tests.js index fa1e971b..2b828579 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 = $('
').appendTo(document.body); - target_facet.create(target_container); + entity.add_facet('details', target_facet); + target_container = $('
').appendTo(document.body); + target_facet.container_node = target_container[0]; + target_facet.create(); target_widget = target_facet.widgets.get_widget('target'); }, teardown: function() { -- cgit