https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17917

--- Comment #26 from M. Tompsett <[email protected]> ---
Created attachment 59207
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=59207&action=edit
Bug 17917: Fix path issue in t/db_dependent/check_sysprefs.t

C4::Context->config('intranet') is returning different
values based on whether it is a full t/db_dependent test
or a specific check_sysprefs.t test run.

Tests are only run in kohaclone, so it makes no sense to
reference config at all. Brought in rel2abs logic to build
a reasonable $root_dir.

TEST PLAN
---------
git checkout master
git pull
sudo koha-shell -c "prove t/db_dependent" kohadev
-- this should have a check_sysprefs.t failure
git checkout -b bug_17917 origin/master
git bz apply 17920
git bz apply 17917
sudo koha-shell -c "prove t/db_dependent" kohadev
-- There should be no issues.
-- If there are, it should be intermittent.
-- run koha qa test tools

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to