Bugzilla – Attachment 158834 Details for
Bug 30287
Notices using HTML render differently in notices.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 30287: (follow-up) Make unit test more reliable in ktd
Bug-30287-follow-up-Make-unit-test-more-reliable-i.patch (text/plain), 992 bytes, created by
Martin Renvoize (ashimema)
on 2023-11-11 11:07:44 UTC
(
hide
)
Description:
Bug 30287: (follow-up) Make unit test more reliable in ktd
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2023-11-11 11:07:44 UTC
Size:
992 bytes
patch
obsolete
>From f14301213bb0be0072415eee8b1ff27b3f83daa7 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Sat, 11 Nov 2023 11:06:32 +0000 >Subject: [PATCH] Bug 30287: (follow-up) Make unit test more reliable in ktd > >This patch mocks NoticeCSS earlier to ensure we're not inadvertantly >failing due to a local setup in ktd having added to the preference. >--- > t/db_dependent/Koha/Notice/Message.t | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/t/db_dependent/Koha/Notice/Message.t b/t/db_dependent/Koha/Notice/Message.t >index fced976faff..c654be4f7c6 100755 >--- a/t/db_dependent/Koha/Notice/Message.t >+++ b/t/db_dependent/Koha/Notice/Message.t >@@ -72,6 +72,7 @@ subtest 'html_content() tests' => sub { > } > ); > >+ t::lib::Mocks::mock_preference( 'NoticeCSS', '' ); > my $message = Koha::Notice::Messages->find($message_id); > my $wrapped_compare = <<"WRAPPED"; > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" >-- >2.41.0
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 30287
:
158517
|
158519
|
158520
|
158648
|
158649
|
158650
|
158651
|
158652
|
158653
|
158654
|
158655
|
158656
|
158834
|
158869
|
158870
|
158871
|
158872
|
158873
|
158892
|
158893
|
158894
|
158895
|
159431
|
159432
|
159433
|
159434