Bugzilla – Attachment 166860 Details for
Bug 33237
If TranslateNotices is off, use the default language includes in slips
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33237: (QA follow-up) Remove hardcoded kohadevbox path
Bug-33237-QA-follow-up-Remove-hardcoded-kohadevbox.patch (text/plain), 1.24 KB, created by
Marcel de Rooy
on 2024-05-17 06:34:51 UTC
(
hide
)
Description:
Bug 33237: (QA follow-up) Remove hardcoded kohadevbox path
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2024-05-17 06:34:51 UTC
Size:
1.24 KB
patch
obsolete
>From 345b46c5c0291a1eb72c842c0adecbc27153f7cf Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Fri, 17 May 2024 06:33:25 +0000 >Subject: [PATCH] Bug 33237: (QA follow-up) Remove hardcoded kohadevbox path >Content-Type: text/plain; charset=utf-8 > >Test plan: >Run Letters.t (outside kohadevbox :) > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > t/db_dependent/Letters.t | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/t/db_dependent/Letters.t b/t/db_dependent/Letters.t >index 8ae4bcd3e2..ea1e859456 100755 >--- a/t/db_dependent/Letters.t >+++ b/t/db_dependent/Letters.t >@@ -18,6 +18,7 @@ > # along with Koha; if not, see <http://www.gnu.org/licenses>. > > use Modern::Perl; >+use File::Basename qw(dirname); > use Test::More tests => 100; > use Test::MockModule; > use Test::Warn; >@@ -882,7 +883,7 @@ subtest 'GetPreparedLetter' => sub { > subtest 'TranslateNotices' => sub { > plan tests => 10; > >- t::lib::Mocks::mock_config( 'intrahtdocs', '/kohadevbox/koha/t/mock_templates/intranet-tmpl' ); >+ t::lib::Mocks::mock_config( 'intrahtdocs', dirname(__FILE__) . '/../mock_templates/intranet-tmpl' ); > t::lib::Mocks::mock_preference( 'OPACLanguages', 'fr-CA,en' ); > > my $amount = -20; >-- >2.30.2
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 33237
:
148281
|
148785
|
163952
|
163953
|
164521
|
165382
|
165383
|
165384
|
165404
|
165405
|
165406
|
165455
|
165456
|
165457
|
165458
|
165459
|
165460
|
165473
|
165474
|
165475
|
165476
|
165477
|
165478
|
165479
|
165480
| 166860