Skip to content

Commit

Permalink
small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ikedas committed Feb 14, 2023
1 parent 29e619a commit 4f0e847
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions src/lib/Sympa/CLI/test/soap.pm
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ sub _run {
}

play_soap_as_trusted($soap_url, $trusted_application,
$trusted_application_password, $service, $proxy_vars,
$service_parameters);
$trusted_application_password, $proxy_vars,
$service, $service_parameters);
} elsif ($service eq 'getUserEmailByCookie') {
play_soap(
$soap_url,
Expand Down Expand Up @@ -110,8 +110,8 @@ sub play_soap_as_trusted {
my $soap_url = shift;
my $trusted_application = shift;
my $trusted_application_password = shift;
my $service = shift;
my $proxy_vars = shift;
my $service = shift;
my $service_parameters = shift;

my $soap = SOAP::Lite->new();
Expand All @@ -124,9 +124,8 @@ sub play_soap_as_trusted {
} else {
@parameters = ();
}
my $p = join(',', @parameters);
printf
"calling authenticateRemoteAppAndRun( $trusted_application, $trusted_application_password, $proxy_vars,$service,$p)\n";
printf "calling authenticateRemoteAppAndRun( %s, ?, %s, %s, %s )\n",
$trusted_application, $proxy_vars, $service, join ',', @parameters;

my $reponse =
$soap->authenticateRemoteAppAndRun($trusted_application,
Expand Down

0 comments on commit 4f0e847

Please sign in to comment.