|
Lines 126-139
subtest 'after_request_created' => sub {
Link Here
|
| 126 |
|
126 |
|
| 127 |
my $fake_cardnumber = '123456789'; |
127 |
my $fake_cardnumber = '123456789'; |
| 128 |
my $metadata = { |
128 |
my $metadata = { |
| 129 |
title => 'This is a title', |
129 |
title => 'This is a title', |
| 130 |
author => 'This is an author', |
130 |
author => 'This is an author', |
| 131 |
isbn => $isbn |
131 |
isbn => $isbn, |
|
|
132 |
cardnumber => $fake_cardnumber, |
| 132 |
}; |
133 |
}; |
| 133 |
|
134 |
|
| 134 |
my $authenticated_patron = $builder->build_object( |
135 |
my $authenticated_patron = $builder->build_object( |
| 135 |
{ |
136 |
{ |
| 136 |
class => 'Koha::Patrons', |
137 |
class => 'Koha::Patrons', |
|
|
138 |
value => { cardnumber => $fake_cardnumber } |
| 137 |
} |
139 |
} |
| 138 |
); |
140 |
); |
| 139 |
|
141 |
|
| 140 |
- |
|
|