Bug 36936: (QA follow-up) Make the test work on MySQL 8.x
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
a62d39ea11
commit
43985e90db
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue