From bee39848d302a968fccecba7619ad1f9b71554bd Mon Sep 17 00:00:00 2001 From: Petr Vobornik Date: Wed, 17 Apr 2013 15:48:48 +0200 Subject: Make facet and entity policies declarative https://fedorahosted.org/freeipa/ticket/3235 --- install/ui/test/aci_tests.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (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 5c8b37e0..a98c45a1 100644 --- a/install/ui/test/aci_tests.js +++ b/install/ui/test/aci_tests.js @@ -115,7 +115,10 @@ module('aci', { } ], policies: [ - IPA.permission_target_policy('target') + { + $factory: IPA.permission_target_policy, + widget_name: 'target' + } ] }); entity.add_facet('details', target_facet); -- cgit