From a069841ff0843c61edf5f501dd21b96dcac518c3 Mon Sep 17 00:00:00 2001 From: Petr Vobornik Date: Tue, 23 Apr 2013 15:17:54 +0200 Subject: Replace ./facets with reg.facet https://fedorahosted.org/freeipa/ticket/3235 --- install/ui/test/aci_tests.js | 5 +++-- 1 file changed, 3 insertions(+), 2 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 a98c45a1..a819d3f1 100644 --- a/install/ui/test/aci_tests.js +++ b/install/ui/test/aci_tests.js @@ -19,6 +19,7 @@ */ define([ + 'freeipa/_base/metadata_provider', 'freeipa/aci', 'freeipa/details', 'freeipa/facet', @@ -28,7 +29,7 @@ define([ 'freeipa/reg', 'freeipa/widget' ], - function(aci, mod_details, mod_facet, fields, IPA, $, reg, widgets) { + function(md, aci, mod_details, mod_facet, fields, IPA, $, reg, widgets) { return function() { var target_container; @@ -135,7 +136,7 @@ module('aci', { test("IPA.attributes_widget.", function() { - var aciattrs = IPA.metadata.objects['user'].aciattrs; + var aciattrs = md.source.objects.user.aciattrs; var container = $('', { name: 'attrs' -- cgit