Bugzilla – Attachment 169611 Details for
Bug 36936
api/v1/bookings.t generates warnings
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36936: (QA follow-up) Make the test work on MySQL 8.x
Bug-36936-QA-follow-up-Make-the-test-work-on-MySQL.patch (text/plain), 1.03 KB, created by
Tomás Cohen Arazi (tcohen)
on 2024-07-25 17:47:16 UTC
(
hide
)
Description:
Bug 36936: (QA follow-up) Make the test work on MySQL 8.x
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2024-07-25 17:47:16 UTC
Size:
1.03 KB
patch
obsolete
>From 43985e90db4bbf7a936c4ce96306461249ded73c Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Thu, 25 Jul 2024 14:46:41 -0300 >Subject: [PATCH] Bug 36936: (QA follow-up) Make the test work on MySQL 8.x > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > t/db_dependent/api/v1/bookings.t | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/t/db_dependent/api/v1/bookings.t b/t/db_dependent/api/v1/bookings.t >index e616c35d755..27a11a67c80 100755 >--- a/t/db_dependent/api/v1/bookings.t >+++ b/t/db_dependent/api/v1/bookings.t >@@ -269,7 +269,7 @@ subtest 'add() tests' => sub { > $t->post_ok( "//$userid:$password@/api/v1/bookings" => json => $booking )->status_is(409) > ->json_is( "/error" => "Duplicate booking_id" ); > } >- qr/DBD::mysql::st execute failed: Duplicate entry '(.*?)' for key 'PRIMARY'/; >+ qr/DBD::mysql::st execute failed: Duplicate entry '(.*?)' for key '(.*\.?)PRIMARY'/; > > # TODO: Test bookings clashes > # TODO: Test item auto-assignment >-- >2.45.2
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 36936
:
168142
|
168219
| 169611