summaryrefslogtreecommitdiffstats
path: root/install/ui/test/entity_tests.js
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2012-12-04 19:34:21 +0100
committerPetr Vobornik <pvoborni@redhat.com>2013-01-18 15:10:37 +0100
commit5d919c9556345a8c230dbd3c43b52a0b9f066773 (patch)
tree72eb825b9ee8c24429deb60f5b9e3701779ff089 /install/ui/test/entity_tests.js
parentc71937fc0c2006c032948c564246822cb7344aa9 (diff)
downloadfreeipa.git-5d919c9556345a8c230dbd3c43b52a0b9f066773.tar.gz
freeipa.git-5d919c9556345a8c230dbd3c43b52a0b9f066773.tar.xz
freeipa.git-5d919c9556345a8c230dbd3c43b52a0b9f066773.zip
Change tests to use AMD loader
Test were modified accordingly to AMD changes. https://fedorahosted.org/freeipa/ticket/112
Diffstat (limited to 'install/ui/test/entity_tests.js')
-rw-r--r--install/ui/test/entity_tests.js4
1 files changed, 4 insertions, 0 deletions
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 <http://www.gnu.org/licenses/>.
*/
+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() {
});
+};});