Skip to content

Commit

Permalink
Add test for deleting a disabled queue via REST 2
Browse files Browse the repository at this point in the history
  • Loading branch information
cbrandtbuffalo committed Aug 30, 2023
1 parent 19ded24 commit 2170daf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions t/rest2/queues.t
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,12 @@ my $queue_url;
my $content = $mech->json_response;
is($content->{Name}, 'Bugs');
is($content->{Disabled}, 1);
diag 'Try to call delete on a disabled queue';
$res = $mech->delete($queue_url,
'Authorization' => $auth,
);
is($res->code, 204);
}
# Queue create
Expand Down

0 comments on commit 2170daf

Please sign in to comment.