From 97c245d0b8dea73f2eb52cc62a7c1c51f71e3d64 Mon Sep 17 00:00:00 2001 From: Mark Tompsett Date: Mon, 9 Jan 2017 15:17:44 +0000 Subject: [PATCH] Bug 17864: Follow up to add missing tests This adds tests for the missing items. Remember the kohadevbox has annoying caching issues, so close tab, vagrant halt, vagrant up just to be certain you are not failing because of caching. --- t/db_dependent/www/prefs-admin_search.t | 63 ++++++++++++++++++--------------- 1 file changed, 34 insertions(+), 29 deletions(-) diff --git a/t/db_dependent/www/prefs-admin_search.t b/t/db_dependent/www/prefs-admin_search.t index 1f3f9d2..702959e 100644 --- a/t/db_dependent/www/prefs-admin_search.t +++ b/t/db_dependent/www/prefs-admin_search.t @@ -56,37 +56,42 @@ sub test_prefs_admin_search { $agent->get_ok( "$intranet/cgi-bin/koha/mainpage.pl", 'load main page' ); - my $base_url = "$intranet/cgi-bin/koha/admin"; + my $base_url = "$intranet/cgi-bin/koha"; note "Base URL: $base_url\n"; my @test_urls = ( - 'admin-home.pl', - 'audio_alerts.pl', - 'authtypes.pl', - 'auth_tag_structure.pl', - 'authorised_values.pl', - 'biblio_framework.pl', - 'marctagstructure.pl', - 'branch_transfer_limits.pl', - 'branches.pl', - 'checkmarc.pl', - 'classsources.pl', - 'columns_settings.pl', - 'didyoumean.pl', - 'edi_accounts.pl', - 'edi_ean_accounts.pl', - 'fieldmapping.pl', - 'item_circulation_alerts.pl', - 'items_search_fields.pl', - 'items_search_field.pl', - 'itemtypes.pl', - 'koha2marclinks.pl', - 'matching-rules.pl', - 'oai_sets.pl', - 'oai_set_mappings.pl', - 'patron-attr-types.pl', - 'smart-rules.pl', - 'transport-cost-matrix.pl', - 'sms_providers.pl', + 'admin/admin-home.pl', + 'admin/audio_alerts.pl', + 'admin/authtypes.pl', + 'admin/auth_tag_structure.pl', + 'admin/authorised_values.pl', + 'admin/biblio_framework.pl', + 'admin/marctagstructure.pl', + 'admin/branch_transfer_limits.pl', + 'admin/branches.pl', + 'admin/checkmarc.pl', + 'admin/classsources.pl', + 'admin/columns_settings.pl', + 'admin/didyoumean.pl', + 'admin/edi_accounts.pl', + 'admin/edi_ean_accounts.pl', + 'admin/fieldmapping.pl', + 'admin/item_circulation_alerts.pl', + 'admin/items_search_fields.pl', + 'admin/items_search_field.pl', + 'admin/itemtypes.pl', + 'admin/koha2marclinks.pl', + 'admin/matching-rules.pl', + 'admin/oai_sets.pl', + 'admin/oai_set_mappings.pl', + 'admin/patron-attr-types.pl', + 'admin/smart-rules.pl', + 'admin/transport-cost-matrix.pl', + 'admin/sms_providers.pl', + 'admin/auth_subfields_structure.pl', + 'admin/clone-rules.pl', + 'admin/marc_subfields_structure.pl', + 'admin/searchengine/elasticsearch/mappings.pl', + 'plugins/plugins-home.pl' ); foreach my $test_url (@test_urls) { -- 2.1.4