mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Fixed unit tests after widget refactoring
https://fedorahosted.org/freeipa/ticket/2040
This commit is contained in:
committed by
Endi S. Dewata
parent
2759ea2961
commit
c5ca34f41d
@@ -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({});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user