Bug 40087: Fix t/Scrubber.t unit test

Remove "tag" and "staff" and add the missing "note"

Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 1d10d8b8c9)
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
This commit is contained in:
David Cook 2025-06-06 03:22:39 +00:00 committed by Paul Derscheid
parent f72d9f2962
commit ce008cf965
No known key found for this signature in database
GPG Key ID: C25F9FD44CED595B
1 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ use Modern::Perl;
$| = 1;
use Test::NoWarnings;
use Test::More tests => 32;
use Test::More tests => 27;
use Test::Warn;
BEGIN {
@ -23,7 +23,7 @@ sub pretty_line {
my ( $scrubber, $html, $result, @types, $collapse );
$collapse = 1;
@types = qw(default comment tag staff);
@types = qw(default comment note);
$html = q|
<![CDATA[selfdestruct]]&#x5d;>
<?php echo(" EVIL EVIL EVIL "); ?> <!-- COMMENT -->