Bugzilla – Attachment 62613 Details for
Bug 15702
Trim whitespace from patron details upon submission
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15702: Add test cases for modified code
Bug-15702-Add-test-cases-for-modified-code.patch (text/plain), 1.29 KB, created by
Jonathan Druart
on 2017-04-24 16:15:08 UTC
(
hide
)
Description:
Bug 15702: Add test cases for modified code
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2017-04-24 16:15:08 UTC
Size:
1.29 KB
patch
obsolete
>From a3b9e7d1a85c90fdcac0bea2190b244f42aefcbd Mon Sep 17 00:00:00 2001 >From: Mark Tompsett <mtompset@hotmail.com> >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=UTF-8 >Content-Transfer-Encoding: 8bit > >Signed-off-by: Marc Véron <veron@veron.ch> > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > 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 080c969..47d0b20 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.9.3
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 15702
:
47424
|
58717
|
58768
|
62519
|
62520
|
62527
|
62528
| 62613 |
62614