summaryrefslogtreecommitdiffstats
path: root/install/ui/test/aci_tests.js
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2013-04-23 15:17:54 +0200
committerPetr Vobornik <pvoborni@redhat.com>2013-05-06 16:22:29 +0200
commita069841ff0843c61edf5f501dd21b96dcac518c3 (patch)
tree107fab11444020e152d1e21f9ec54dc8ceb508a7 /install/ui/test/aci_tests.js
parent3599357bcc74afe47e50ef1672021cc7a83a952a (diff)
downloadfreeipa-a069841ff0843c61edf5f501dd21b96dcac518c3.tar.gz
freeipa-a069841ff0843c61edf5f501dd21b96dcac518c3.tar.xz
freeipa-a069841ff0843c61edf5f501dd21b96dcac518c3.zip
Replace ./facets with reg.facet
https://fedorahosted.org/freeipa/ticket/3235
Diffstat (limited to 'install/ui/test/aci_tests.js')
-rw-r--r--install/ui/test/aci_tests.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/install/ui/test/aci_tests.js b/install/ui/test/aci_tests.js
index a98c45a1d..a819d3f14 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 = $('<span/>', {
name: 'attrs'