From c5ca34f41d2aede667c19d2213a5d7e79a5e301c Mon Sep 17 00:00:00 2001 From: Petr Vobornik Date: Thu, 1 Dec 2011 15:58:49 +0100 Subject: Fixed unit tests after widget refactoring https://fedorahosted.org/freeipa/ticket/2040 --- install/ui/test/association_tests.js | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) (limited to 'install/ui/test/association_tests.js') diff --git a/install/ui/test/association_tests.js b/install/ui/test/association_tests.js index db013433..ac517534 100644 --- a/install/ui/test/association_tests.js +++ b/install/ui/test/association_tests.js @@ -51,18 +51,15 @@ test("Testing serial_associator().", function() { equals( command.entity, params.other_entity, - 'Checking IPA.command() parameter: entity' - ); + 'Checking IPA.command() parameter: entity'); equals( command.method, params.method, - 'Checking IPA.command() parameter: method' - ); + 'Checking IPA.command() parameter: method'); equals( command.args[0], 'user'+(i+1), - 'Checking IPA.command() parameter: primary key' - ); + 'Checking IPA.command() parameter: primary key'); } that.on_success({}); @@ -107,18 +104,15 @@ test("Testing bulk_associator().", function() { equals( that.method, params.method, - 'Checking IPA.command() parameter: method' - ); + 'Checking IPA.command() parameter: method'); equals( that.args[0], params.pkey, - 'Checking IPA.command() parameter: primary key' - ); + 'Checking IPA.command() parameter: primary key'); equals( that.options[params.other_entity], 'user1,user2,user3', - 'Checking IPA.command() parameter: options[\""+params.other_entity+"\"]' - ); + 'Checking IPA.command() parameter: options[\""+params.other_entity+"\"]'); that.on_success({}); }; -- cgit