Bugzilla – Attachment 70099 Details for
Bug 19828
Koha::Object->store should catch DBIC exceptions and raise Koha::Exceptions
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19828: Fix tests that expect DBD errors instead of the exception message
Bug-19828-Fix-tests-that-expect-DBD-errors-instead.patch (text/plain), 1.06 KB, created by
Josef Moravec
on 2017-12-22 07:46:39 UTC
(
hide
)
Description:
Bug 19828: Fix tests that expect DBD errors instead of the exception message
Filename:
MIME Type:
Creator:
Josef Moravec
Created:
2017-12-22 07:46:39 UTC
Size:
1.06 KB
patch
obsolete
>From 716a490ee50b422475c99192db673f1b8e9790f2 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Wed, 20 Dec 2017 15:33:48 -0300 >Subject: [PATCH] Bug 19828: Fix tests that expect DBD errors instead of the > exception message > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> > >Signed-off-by: Josef Moravec <josef.moravec@gmail.com> >--- > t/db_dependent/Circulation/Returns.t | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/t/db_dependent/Circulation/Returns.t b/t/db_dependent/Circulation/Returns.t >index de941f2..e97ebe3 100644 >--- a/t/db_dependent/Circulation/Returns.t >+++ b/t/db_dependent/Circulation/Returns.t >@@ -318,7 +318,7 @@ subtest 'Handle ids duplication' => sub { > } > [ > qr{.*DBD::mysql::st execute failed: Duplicate entry.*}, >- { carped => qr{The checkin for the following issue failed.*DBIx::Class::Storage::DBI::_dbh_execute.*} } >+ { carped => qr{The checkin for the following issue failed.*Duplicate ID.*} } > ], > 'DBD should have raised an error about dup primary key'; > >-- >2.1.4
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 19828
:
69857
|
69858
|
69907
|
69908
|
69963
|
69964
|
69965
|
70048
|
70049
|
70050
|
70097
|
70098
| 70099 |
70100