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