summaryrefslogtreecommitdiffstats
path: root/install/ui/test/association_tests.js
diff options
context:
space:
mode:
Diffstat (limited to 'install/ui/test/association_tests.js')
-rw-r--r--install/ui/test/association_tests.js11
1 files changed, 3 insertions, 8 deletions
diff --git a/install/ui/test/association_tests.js b/install/ui/test/association_tests.js
index 7eea1fc91..769355ae8 100644
--- a/install/ui/test/association_tests.js
+++ b/install/ui/test/association_tests.js
@@ -32,7 +32,7 @@ test("Testing serial_associator().", function() {
var params = {
method: 'add_member',
pkey: 'test',
- entity_name: 'user',
+ entity: {name:'user'},
other_entity: 'group'
};
@@ -78,7 +78,7 @@ test("Testing serial_associator().", function() {
test("Testing bulk_associator().", function() {
- expect(5);
+ expect(4);
var orig_ipa_command = IPA.command;
@@ -87,7 +87,7 @@ test("Testing bulk_associator().", function() {
var params = {
method: "add_member",
pkey: "test",
- entity_name: "user",
+ entity: {name:"user"},
other_entity: "group"
};
@@ -101,11 +101,6 @@ test("Testing bulk_associator().", function() {
counter++;
equals(
- that.entity, params.entity_name,
- 'Checking IPA.command() parameter: entity'
- );
-
- equals(
that.method, params.method,
'Checking IPA.command() parameter: method'
);