Bugzilla – Attachment 64086 Details for
Bug 18749
xt/sample notices fails with "No sample notice to delete"
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18749 - xt/sample_notices.t fails
Bug-18749---xtsamplenoticest-fails.patch (text/plain), 1.38 KB, created by
Lee Jamison
on 2017-06-07 17:59:21 UTC
(
hide
)
Description:
Bug 18749 - xt/sample_notices.t fails
Filename:
MIME Type:
Creator:
Lee Jamison
Created:
2017-06-07 17:59:21 UTC
Size:
1.38 KB
patch
obsolete
>From 56d58dd6eb5e5c833f8e6976b927bcda2c84dd7e Mon Sep 17 00:00:00 2001 >From: Lee Jamison <ldjamison@marywood.edu> >Date: Wed, 7 Jun 2017 11:34:29 +0000 >Subject: [PATCH] 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 >--- > xt/sample_notices.t | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/xt/sample_notices.t b/xt/sample_notices.t >index 39e3ab2..2653407 100755 >--- a/xt/sample_notices.t >+++ b/xt/sample_notices.t >@@ -22,7 +22,7 @@ use Test::More qw(no_plan); > > > my $root_dir = 'installer/data/mysql'; >-my $base_notices_file = "en/default/sample_notices.sql"; >+my $base_notices_file = "en/mandatory/sample_notices.sql"; > my @trans_notices_files = qw( > fr-FR/1-Obligatoire/sample_notices.sql > fr-CA/obligatoire/sample_notices.sql >-- >2.1.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 18749
:
64086
|
64180
|
64262