Bugzilla – Attachment 95059 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.57 KB, created by
Marcel de Rooy
on 2019-11-05 15:39:23 UTC
(
hide
)
Description:
Bug 17359: Use a unicode character in tests
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2019-11-05 15:39:23 UTC
Size:
1.57 KB
patch
obsolete
>From eb0dd46d6b99b2c9243670c5fc54286a1ac6cd24 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 >Content-Type: text/plain; charset=utf-8 > >And remove an unused variable. > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >[EDIT] >Now really removed it. >--- > t/db_dependent/Koha/Patrons/Import.t | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > >diff --git a/t/db_dependent/Koha/Patrons/Import.t b/t/db_dependent/Koha/Patrons/Import.t >index b7cc7f9e2f..e908613cc7 100644 >--- a/t/db_dependent/Koha/Patrons/Import.t >+++ b/t/db_dependent/Koha/Patrons/Import.t >@@ -257,8 +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_utf8 = encode_utf8($surname); >+my $surname ='Chloéâ¤'; > # 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|; > my $input_good_branch = qq|1003,$surname,Richardson,Mr,Kimberly,LR,90,Place,Bayside,Atlanta,Erie,Georgia,31190,United States,krichardson3\@pcworld.com,8-(035)185-0387,4-(796)518-3676,3-(644)960-3789,04/13/1954,RPL,PT,06/06/2015,07/01/2015,krichardson3,P3EO0MVRPXbM|; >-- >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