Bug 23825: table name is not always displayed
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 0498ffb633)
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
This commit is contained in:
parent
56d98b914d
commit
b292eaa80e
|
|
@ -358,7 +358,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' );
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue