From 5d919c9556345a8c230dbd3c43b52a0b9f066773 Mon Sep 17 00:00:00 2001 From: Petr Vobornik Date: Tue, 4 Dec 2012 19:34:21 +0100 Subject: Change tests to use AMD loader Test were modified accordingly to AMD changes. https://fedorahosted.org/freeipa/ticket/112 --- install/ui/test/entity_tests.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'install/ui/test/entity_tests.js') diff --git a/install/ui/test/entity_tests.js b/install/ui/test/entity_tests.js index a81e0b89..f34060f7 100644 --- a/install/ui/test/entity_tests.js +++ b/install/ui/test/entity_tests.js @@ -19,6 +19,9 @@ * along with this program. If not, see . */ +define(['freeipa/ipa', 'freeipa/jquery', 'freeipa/entity', 'freeipa/search', + 'freeipa/details'], function(IPA, $) { + return function() { var entities_container; @@ -100,3 +103,4 @@ test('Testing IPA.entity_set_search_definition().', function() { }); +};}); -- cgit