Bugzilla – Attachment 120214 Details for
Bug 28234
TestBuilder->build_sample_biblio does not deal correctly with encoding
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 28234: Regression tests
Bug-28234-Regression-tests.patch (text/plain), 1.08 KB, created by
Tomás Cohen Arazi (tcohen)
on 2021-04-27 12:53:11 UTC
(
hide
)
Description:
Bug 28234: Regression tests
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2021-04-27 12:53:11 UTC
Size:
1.08 KB
patch
obsolete
>From 4564b8d35d127eed509ff70c5bf3de81525df7a7 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Tue, 27 Apr 2021 09:47:43 -0300 >Subject: [PATCH] Bug 28234: Regression tests > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > t/db_dependent/TestBuilder.t | 18 +++++++++++++++++- > 1 file changed, 17 insertions(+), 1 deletion(-) > >diff --git a/t/db_dependent/TestBuilder.t b/t/db_dependent/TestBuilder.t >index e2fbba7a9b8..7d07469196b 100755 >--- a/t/db_dependent/TestBuilder.t >+++ b/t/db_dependent/TestBuilder.t >@@ -19,7 +19,9 @@ > > use Modern::Perl; > >-use Test::More tests => 13; >+use utf8; >+ >+use Test::More tests => 14; > use Test::Warn; > use File::Basename qw(dirname); > >@@ -461,3 +463,17 @@ subtest '->build parameter' => sub { > }; > > $schema->storage->txn_rollback; >+ >+subtest 'build_sample_biblio() tests' => sub { >+ >+ plan tests => 1; >+ >+ $schema->storage->txn_begin; >+ >+ warnings_are >+ { $builder->build_sample_biblio({ title => 'hellâ¤ï¸' }); } >+ [], >+ "No encoding warnings!"; >+ >+ $schema->storage->txn_rollback; >+}; >-- >2.31.1
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 28234
:
120205
|
120212
|
120214
|
120215
|
120225
|
120226