From 31378adbe1add83afd2ac77520a295c18ba70b72 Mon Sep 17 00:00:00 2001 From: Mark Tompsett Date: Fri, 21 Apr 2017 08:58:03 -0400 Subject: [PATCH] Bug 15702: Add test cases for modified code MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Marc VĂ©ron Signed-off-by: Jonathan Druart Signed-off-by: Kyle M Hall --- t/db_dependent/Members.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/t/db_dependent/Members.t b/t/db_dependent/Members.t index 080c96976b..47d0b20fca 100755 --- a/t/db_dependent/Members.t +++ b/t/db_dependent/Members.t @@ -83,7 +83,7 @@ my $userenv = C4::Context->userenv # Make a borrower for testing my %data = ( cardnumber => $CARDNUMBER, - firstname => $FIRSTNAME, + firstname => $FIRSTNAME . q{ }, surname => $SURNAME, categorycode => $patron_category->{categorycode}, branchcode => $BRANCHCODE, @@ -107,7 +107,7 @@ ok ( $member->{firstname} eq $FIRSTNAME && is($member->{dateofbirth}, undef, "Empty dates handled correctly"); -$member->{firstname} = $CHANGED_FIRSTNAME; +$member->{firstname} = $CHANGED_FIRSTNAME . q{ }; $member->{email} = $EMAIL; $member->{phone} = $PHONE; $member->{emailpro} = $EMAILPRO; -- 2.11.4.GIT