From 1e219a1cb03f612678cedc41b563e51831019ceb Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 5 Nov 2019 11:07:19 +0100 Subject: [PATCH] Bug 23825: table name is not always displayed Signed-off-by: Marcel de Rooy Signed-off-by: Martin Renvoize --- 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.20.1