Bugzilla – Attachment 95044 Details for
Bug 23825
Object.t is failing - Exception not caught
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23825: table name is not always displayed
Bug-23825-table-name-is-not-always-displayed.patch (text/plain), 1.08 KB, created by
Jonathan Druart
on 2019-11-05 10:09:29 UTC
(
hide
)
Description:
Bug 23825: table name is not always displayed
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2019-11-05 10:09:29 UTC
Size:
1.08 KB
patch
obsolete
>From 45c777ef0b61f273464270df41755345e8c64819 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 5 Nov 2019 11:07:19 +0100 >Subject: [PATCH] Bug 23825: table name is not always displayed > >--- > t/db_dependent/Koha/Object.t | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/t/db_dependent/Koha/Object.t b/t/db_dependent/Koha/Object.t >index af723528c6..a37695bc1f 100755 >--- a/t/db_dependent/Koha/Object.t >+++ b/t/db_dependent/Koha/Object.t >@@ -410,7 +410,7 @@ subtest 'store() tests' => sub { > $patron->lastseen('wrong_value')->store; > } catch { > ok( $_->isa('Koha::Exceptions::Object::BadValue'), 'Exception thrown correctly' ); >- like( $_->property, qr/borrowers\.lastseen/, 'Column should be the expected one' ); >+ like( $_->property, qr/(borrowers\.)?lastseen/, 'Column should be the expected one' ); # The table name is not always displayed, it depends on the DBMS version > is( $_->value, 'wrong_value', 'Value should be the expected one' ); > }; > >-- >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 23825
:
94401
|
94654
|
94661
|
94662
|
94803
|
94804
|
95044
|
95053
|
95402
|
95403
|
95404
|
95405