summaryrefslogtreecommitdiffstats
path: root/install/ui/test/association_tests.js
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2011-12-01 15:58:49 +0100
committerEndi S. Dewata <edewata@redhat.com>2011-12-05 16:02:01 +0000
commitc5ca34f41d2aede667c19d2213a5d7e79a5e301c (patch)
treedaa2cd27a4fd9a579009c900a262b8a5cc40d037 /install/ui/test/association_tests.js
parent2759ea29616f14716016c0e62d13909694b2bf0b (diff)
downloadfreeipa.git-c5ca34f41d2aede667c19d2213a5d7e79a5e301c.tar.gz
freeipa.git-c5ca34f41d2aede667c19d2213a5d7e79a5e301c.tar.xz
freeipa.git-c5ca34f41d2aede667c19d2213a5d7e79a5e301c.zip
Fixed unit tests after widget refactoring
https://fedorahosted.org/freeipa/ticket/2040
Diffstat (limited to 'install/ui/test/association_tests.js')
-rw-r--r--install/ui/test/association_tests.js18
1 files changed, 6 insertions, 12 deletions
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({});
};