[Koha-bugs] [Bug 23825] New: Object.t is failing - Exception not caught
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Oct 16 15:16:08 CEST 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23825
Bug ID: 23825
Summary: Object.t is failing - Exception not caught
Change sponsored?: ---
Product: Koha
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: major
Priority: P5 - low
Component: Test Suite
Assignee: chris at bigballofwax.co.nz
Reporter: jonathan.druart at bugs.koha-community.org
QA Contact: testopia at bugs.koha-community.org
Something weird here:
kohadev-koha at kohadevbox:/home/vagrant/kohaclone$ prove
t/db_dependent/Koha/Object.t
t/db_dependent/Koha/Object.t .. 3/11
# Failed test 'Exception thrown correctly'
# at t/db_dependent/Koha/Object.t line 359.
# expecting: Koha::Exceptions::Object::BadValue
# found: DBIx::Class::Exception
(DBIx::Class::Storage::DBI::_dbh_execute(): Incorrect datetime value:
'wrong_value' for column `koha_kohadev`.`borrowers`.`lastseen` at row 1 at
/home/vagrant/kohaclone/Koha/Object.pm line 156
# )
# Looks like you failed 1 test of 1.
# Failed test 'Bad value tests'
# at t/db_dependent/Koha/Object.t line 363.
# Looks like you failed 1 test of 16.
Not on Jenkins
It's the following exception's message that is not caught correctly by the
regex:
DBIx::Class::Storage::DBI::_dbh_execute(): Incorrect datetime value:
'wrong_value' for column `koha_kohadev`.`borrowers`.`lastseen` at row 1 at
/home/vagrant/kohaclone/Koha/Object.pm line 156
Note the backticks.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list