From 4f175ce2bb556dd79561b5945708c77223bddb70 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 26 Dec 2017 14:11:05 -0300 Subject: [PATCH] Bug 19243: fix urls - do not use /cgi-bin/koha Signed-off-by: Jonathan Druart --- t/db_dependent/selenium/administration_tasks.t | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/t/db_dependent/selenium/administration_tasks.t b/t/db_dependent/selenium/administration_tasks.t index 14feb25e22..e0497a9d45 100644 --- a/t/db_dependent/selenium/administration_tasks.t +++ b/t/db_dependent/selenium/administration_tasks.t @@ -132,13 +132,13 @@ SKIP: { $s->click( { href => '/admin/authorised_values.pl', main => 'doc' } ); #Authorized values - $s->click( { href => '/cgi-bin/koha/admin/authorised_values.pl?op=add_form&category=Adult', main => 'doc3' } ); # New category + $s->click( { href => '/admin/authorised_values.pl?op=add_form&category=Adult', main => 'doc3' } ); # New category $s->fill_form( { authorised_value => 'Hardover', lib => 'Hardcover book'} ); $s->submit_form; $s->click( { - href => '/cgi-bin/koha/admin/authorised_values.pl?op=delete&searchfield=Adult&id=400', + href => '/admin/authorised_values.pl?op=delete&searchfield=Adult&id=400', main => 'doc3' } ); @@ -146,15 +146,15 @@ SKIP: { { #Patron categories $driver->get($mainpage); - $s->click( { href => '/cgi-bin/koha/admin/categories.pl', main => 'doc3' } ); #Koha administration - $s->click( { href => '/cgi-bin/koha/admin/categories.pl?op=add_form', main => 'doc' } ); #New patron category + $s->click( { href => '/admin/categories.pl', main => 'doc3' } ); #Koha administration + $s->click( { href => '/admin/categories.pl?op=add_form', main => 'doc' } ); #New patron category $s->fill_form( { categorycode => 'Test', description => 'Test category', enrolmentperiod => 12, category_type => 'Adult' } ); $s->submit_form; $s->click( { - href => '/cgi-bin/koha/admin/categories.pl?op=delete_confirm&categorycode=TEST', + href => '/admin/categories.pl?op=delete_confirm&categorycode=TEST', main => 'doc3' } ); -- 2.39.5