|
Lines 142-148
sub load_records_ui {
Link Here
|
| 142 |
$agent->follow_link_ok( { text => 'Stage records for import' }, |
142 |
$agent->follow_link_ok( { text => 'Stage records for import' }, |
| 143 |
'go to stage MARC' ); |
143 |
'go to stage MARC' ); |
| 144 |
|
144 |
|
| 145 |
my $session_id = $agent->cookie_jar->get_cookies('koha.local')->{CGISESSID}; |
145 |
my $session_id = $agent->cookie_jar->get_cookies( $self->{intranet} )->{CGISESSID}; |
| 146 |
my $csrf_token = Koha::Token->new->generate_csrf({session_id => $session_id}); |
146 |
my $csrf_token = Koha::Token->new->generate_csrf({session_id => $session_id}); |
| 147 |
$agent->post( |
147 |
$agent->post( |
| 148 |
"$cgi_root/tools/upload-file.pl?temp=1", |
148 |
"$cgi_root/tools/upload-file.pl?temp=1", |
| 149 |
- |
|
|