From 0c1e18d655a15713f985238b8b65c7c4199db79c Mon Sep 17 00:00:00 2001 From: Victor Grousset/tuxayo Date: Tue, 19 Mar 2024 02:21:06 +0100 Subject: [PATCH] Bug 35616: (QA follow-up): tidy up code and fix exec permission Signed-off-by: Katrin Fischer --- installer/data/mysql/atomicupdate/bug_35616.pl | 0 t/db_dependent/api/v1/tickets.t | 18 +++++++++--------- 2 files changed, 9 insertions(+), 9 deletions(-) mode change 100644 => 100755 installer/data/mysql/atomicupdate/bug_35616.pl diff --git a/installer/data/mysql/atomicupdate/bug_35616.pl b/installer/data/mysql/atomicupdate/bug_35616.pl old mode 100644 new mode 100755 diff --git a/t/db_dependent/api/v1/tickets.t b/t/db_dependent/api/v1/tickets.t index 9cfebde702..dcb68df109 100755 --- a/t/db_dependent/api/v1/tickets.t +++ b/t/db_dependent/api/v1/tickets.t @@ -285,8 +285,8 @@ subtest 'update() tests' => sub { # Attempt partial update on a PUT my $ticket_with_missing_field = { - source => 'catalog', - body => "Test ticket details", + source => 'catalog', + body => "Test ticket details", }; $t->put_ok( "//$userid:$password@/api/v1/tickets/$ticket_id" => json => @@ -296,9 +296,9 @@ subtest 'update() tests' => sub { # Full object update on PUT my $ticket_with_updated_field = { - source => 'catalog', - title => "Test ticket update", - body => "Test ticket update details", + source => 'catalog', + title => "Test ticket update", + body => "Test ticket update details", }; $t->put_ok( "//$userid:$password@/api/v1/tickets/$ticket_id" => json => @@ -307,10 +307,10 @@ subtest 'update() tests' => sub { # Authorized attempt to write invalid data my $ticket_with_invalid_field = { - blah => "Ticket Blah", - source => 'catalog', - title => "Test ticket update", - body => "Test ticket update details", + blah => "Ticket Blah", + source => 'catalog', + title => "Test ticket update", + body => "Test ticket update details", }; $t->put_ok( "//$userid:$password@/api/v1/tickets/$ticket_id" => json => -- 2.39.5