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> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
84a8f09ec2
commit
4fc594bcb4
1 changed files with 1 additions and 1 deletions
|
@ -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';
|
||||
|
||||
|
|
Loading…
Reference in a new issue