diff --git a/t/rest2/queues.t b/t/rest2/queues.t index 25c2b06df92..77e0c554ffb 100644 --- a/t/rest2/queues.t +++ b/t/rest2/queues.t @@ -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