Koha/xt
Lee Jamison 323cc1501f Bug 18749 - xt/sample_notices.t fails
Bug Description:
When performing a unit test on xt/sample_notices.t with the command
'prove xt/sample_notices.t' 11 tests fail with the error message
"No sample notice to delete".

Cause of bug:
The failures are caused by an incorrect file path on Line 25 of
xt/sample_notices.t.

Patch Description:
This patch corrects the failures by changing $base_notices_file from
"en/default/sample_notices.sql" to "en/mandatory/sample_notices.sql"

Test Plan:
1) Drop into koha-shell and run the command 'prove xt/sample_notices.'
2) 11 unit tests fail.
3) Apply the patch.
4) Re-run 'prove xt/sample_notices.t'
5) All of the tests pass now.
6) Quit out of koha-shell

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2017-06-13 12:37:15 -03:00
..
author Bug 18746: Add license and remove diag 2017-06-09 10:21:33 -03:00
find-license-problems
find-misplaced-executables Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
find-nonutf8 Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
fix-old-fsf-address
fix-old-fsf-address.exclude
perltidyrc
sample_notices.t Bug 18749 - xt/sample_notices.t fails 2017-06-13 12:37:15 -03:00
single_quotes.t Bug 16174: (QA followup) Fix remaining tests 2016-04-01 19:11:33 +00:00
tt_valid.t Bug 16174: Warning in tt_valid.t due to bug 15527 2016-04-01 19:11:32 +00:00
verify-debian-docbook.t Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
yaml_valid.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
yaml_valid.t Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00