Bugzilla – Attachment 95042 Details for
Bug 17359
Patron import results use wrong encoding
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17359: Use a unicode character in tests
Bug-17359-Use-a-unicode-character-in-tests.patch (text/plain), 1.18 KB, created by
Jonathan Druart
on 2019-11-05 09:29:54 UTC
(
hide
)
Description:
Bug 17359: Use a unicode character in tests
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2019-11-05 09:29:54 UTC
Size:
1.18 KB
patch
obsolete
>From 89bcbb5821b4e36aaf50b9e070f1b9a79244b9ac Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 5 Nov 2019 10:25:50 +0100 >Subject: [PATCH] Bug 17359: Use a unicode character in tests > >And remove an unused variable. >--- > t/db_dependent/Koha/Patrons/Import.t | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/t/db_dependent/Koha/Patrons/Import.t b/t/db_dependent/Koha/Patrons/Import.t >index b7cc7f9e2f..b20162c1fc 100644 >--- a/t/db_dependent/Koha/Patrons/Import.t >+++ b/t/db_dependent/Koha/Patrons/Import.t >@@ -257,7 +257,7 @@ is($result_4a->{overwritten}, 0, 'Got the expected 0 overwritten result from imp > > t::lib::Mocks::mock_preference('ExtendedPatronAttributes', 0); > >-my $surname ='Chloé'; >+my $surname ='Chloéâ¤'; > my $surname_utf8 = encode_utf8($surname); > # Given ... 3 new inputs. One with no branch code, one with unexpected branch code. > my $input_no_branch = qq|1002,$surname,Reynolds,Mr,Patricia,JR,12,Hill,Kennedy,Saint Louis,Colorado Springs,Missouri,63131,United States,preynolds2i\@washington.edu,7-(925)314-9514,0-(315)973-8956,4-(510)556-2323,09/18/1967,,PT,05/07/2015,07/01/2015,preynolds2,K3HiDzl|; >-- >2.11.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 17359
:
93926
|
93927
|
93928
|
93929
|
93942
|
94261
|
94262
|
94263
|
94809
|
94810
|
95042
|
95057
|
95058
|
95059