Bug 36503: Fix unit tests
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit 4417811d9a)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
7df3340b1c
commit
4facda139a
|
|
@ -86,16 +86,8 @@ subtest 'get_user() tests' => sub {
|
|||
auth_client_get_user => sub {
|
||||
$_[1]->{mapped_data}->{firstname} = 'test name modified 1';
|
||||
return;
|
||||
},
|
||||
retrieve_data => sub { return $_[1] eq 'priority' ? 2 : undef; }
|
||||
}
|
||||
},
|
||||
{
|
||||
auth_client_get_user => sub {
|
||||
$_[1]->{mapped_data}->{firstname} = 'test name modified 2';
|
||||
return;
|
||||
},
|
||||
retrieve_data => sub { return $_[1] eq 'priority' ? 1 : undef; }
|
||||
}
|
||||
];
|
||||
my @plugins;
|
||||
foreach my $method ( @{$methods} ) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue