Bugzilla – Attachment 76927 Details for
Bug 20287
Move AddMember and ModMember to Koha::Patron
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20287: (follow-up) Test exception DuplicateID for Koha::Patron->store
Bug-20287-follow-up-Test-exception-DuplicateID-for.patch (text/plain), 951 bytes, created by
Jonathan Druart
on 2018-07-12 19:34:32 UTC
(
hide
)
Description:
Bug 20287: (follow-up) Test exception DuplicateID for Koha::Patron->store
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2018-07-12 19:34:32 UTC
Size:
951 bytes
patch
obsolete
>From a77af9d9b11dc3958677db36a04a16176033d8d7 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 12 Jul 2018 16:34:06 -0300 >Subject: [PATCH] Bug 20287: (follow-up) Test exception DuplicateID for > Koha::Patron->store > >--- > t/db_dependent/Koha/Patrons.t | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/t/db_dependent/Koha/Patrons.t b/t/db_dependent/Koha/Patrons.t >index 960b55c9c5..243f817d73 100644 >--- a/t/db_dependent/Koha/Patrons.t >+++ b/t/db_dependent/Koha/Patrons.t >@@ -1440,7 +1440,7 @@ subtest '->store' => sub { > throws_ok > { $patron_2->userid($patron_1->userid)->store; } > 'Koha::Exceptions::Object::DuplicateID', >- 'AddMember raises an exception on invalid categorycode'; >+ 'Koha::Patron->store raises an exception on duplicate ID'; > > $schema->storage->dbh->{PrintError} = $print_error; > $schema->storage->txn_rollback; >-- >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 20287
:
73436
|
76901
|
76902
|
76903
|
76904
|
76905
|
76906
|
76907
|
76908
|
76909
|
76910
|
76911
|
76912
|
76913
|
76914
|
76915
|
76916
|
76917
|
76918
|
76919
|
76920
|
76921
|
76922
|
76923
|
76924
| 76927 |
77221