Bugzilla – Attachment 163583 Details for
Bug 36328
C4::Scrubber should allow more HTML tags
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36328: Add test
Bug-36328-Add-test.patch (text/plain), 865 bytes, created by
David Cook
on 2024-03-21 00:42:37 UTC
(
hide
)
Description:
Bug 36328: Add test
Filename:
MIME Type:
Creator:
David Cook
Created:
2024-03-21 00:42:37 UTC
Size:
865 bytes
patch
obsolete
>From beabc8f1b67da39a6da385a0646266ced3584673 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Fri, 15 Mar 2024 11:40:57 +0100 >Subject: [PATCH] Bug 36328: Add test > >Signed-off-by: David Cook <dcook@prosentient.com.au> >--- > t/Scrubber.t | 7 ++++--- > 1 file changed, 4 insertions(+), 3 deletions(-) > >diff --git a/t/Scrubber.t b/t/Scrubber.t >index 1b4a9e13d10..1d03ce67629 100755 >--- a/t/Scrubber.t >+++ b/t/Scrubber.t >@@ -1,10 +1,9 @@ > #!/usr/bin/perl > >-use strict; >-use warnings; >+use Modern::Perl; > > $| = 1; >-use Test::More tests => 29; >+use Test::More tests => 30; > use Test::Warn; > > BEGIN { >@@ -82,3 +81,5 @@ eval{ > if ($@) { > pass("Test should have failed on entry of 'Client' and it did. YAY!"); > } >+ >+is( C4::Scrubber->new('comment')->scrub('<span>Allow span</span>'), '<span>Allow span</span>' ); >-- >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 36328
:
163192
|
163193
|
163497
|
163582
|
163583
|
163584
|
164206
|
164207
|
164208
|
164209