Bugzilla – Attachment 181977 Details for
Bug 38944
Add Test::NoWarnings to tests without warnings
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 38944: Fix for Mysql8
Bug-38944-Fix-for-Mysql8.patch (text/plain), 2.16 KB, created by
Jonathan Druart
on 2025-05-06 14:09:40 UTC
(
hide
)
Description:
Bug 38944: Fix for Mysql8
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2025-05-06 14:09:40 UTC
Size:
2.16 KB
patch
obsolete
>From 75dfba987697fc6e9c3e7ffbf829d7c8ff268793 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 6 May 2025 16:07:39 +0200 >Subject: [PATCH] Bug 38944: Fix for Mysql8 > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > t/db_dependent/Koha/Object.t | 2 +- > t/db_dependent/Koha/Patron.t | 2 +- > t/db_dependent/Koha/Patron/Relationship.t | 2 +- > 3 files changed, 3 insertions(+), 3 deletions(-) > >diff --git a/t/db_dependent/Koha/Object.t b/t/db_dependent/Koha/Object.t >index 21d72c21db7..a98357f757f 100755 >--- a/t/db_dependent/Koha/Object.t >+++ b/t/db_dependent/Koha/Object.t >@@ -1000,7 +1000,7 @@ subtest 'store() tests' => sub { > 'Koha::Exceptions::Object::DuplicateID', > 'Exception is thrown correctly'; > }, >- qr{Duplicate entry.* for key 'title'} >+ qr{Duplicate entry.* for key '(library_groups\.)?title'} > ); > > is( >diff --git a/t/db_dependent/Koha/Patron.t b/t/db_dependent/Koha/Patron.t >index dc2ed4dca07..e908706c8b5 100755 >--- a/t/db_dependent/Koha/Patron.t >+++ b/t/db_dependent/Koha/Patron.t >@@ -405,7 +405,7 @@ subtest 'add_guarantor() tests' => sub { > 'Koha::Exceptions::Patron::Relationship::DuplicateRelationship', > 'Exception is thrown for duplicated relationship'; > }, >- qr{Duplicate entry.* for key 'guarantor_guarantee_idx'} >+ qr{Duplicate entry.* for key '(borrower_relationships\.)?guarantor_guarantee_idx'} > ); > > $schema->storage->txn_rollback; >diff --git a/t/db_dependent/Koha/Patron/Relationship.t b/t/db_dependent/Koha/Patron/Relationship.t >index 45601294159..b0e0c581c89 100755 >--- a/t/db_dependent/Koha/Patron/Relationship.t >+++ b/t/db_dependent/Koha/Patron/Relationship.t >@@ -117,7 +117,7 @@ subtest 'store() tests' => sub { > 'Koha::Exceptions::Patron::Relationship::DuplicateRelationship', > 'Exception is thrown for duplicated relationship'; > }, >- qr{Duplicate entry.* for key 'guarantor_guarantee_idx'} >+ qr{Duplicate entry.* for key '(borrower_relationships\.)?guarantor_guarantee_idx'} > ); > > is( >-- >2.34.1
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 38944
:
176912
|
176913
|
176914
|
177165
|
177166
|
177167
|
177196
|
177274
|
177275
|
177362
|
177363
|
177364
|
177380
|
177477
|
177478
|
177479
|
177480
|
177481
|
177928
|
177929
|
177930
|
177931
|
177932
|
177977
|
177994
|
177995
|
177996
|
177997
|
177998
|
177999
|
179241
|
179242
|
179243
|
179244
|
179245
|
179246
|
179247
|
179378
|
179478
| 181977