summaryrefslogtreecommitdiffstats
path: root/install/ui/test/entity_tests.js
diff options
context:
space:
mode:
Diffstat (limited to 'install/ui/test/entity_tests.js')
-rw-r--r--install/ui/test/entity_tests.js8
1 files changed, 7 insertions, 1 deletions
diff --git a/install/ui/test/entity_tests.js b/install/ui/test/entity_tests.js
index 86e44cd67..0adc091fd 100644
--- a/install/ui/test/entity_tests.js
+++ b/install/ui/test/entity_tests.js
@@ -74,7 +74,13 @@ test('Testing IPA.entity_set_search_definition().', function() {
var facet = entity.get_facet('search');
facet.init();
- facet.create(entities_container);
+
+ var content = $('<div/>', {
+ 'class': 'content'
+ }).appendTo(entities_container);
+
+ facet.create_content(content);
+
facet.setup(entities_container);