From eb0dd46d6b99b2c9243670c5fc54286a1ac6cd24 Mon Sep 17 00:00:00 2001 From: Jonathan Druart 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 [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