MT#60710 add DELETE to pbxdevicemodels api-test allowed methods

Change-Id: Ieda873026e0fbc75ef890d3844c6123c4d33cfc2
mr13.0
Kirill Solomko 8 months ago
parent 46d297dec2
commit f4c5f229c3

@ -92,7 +92,7 @@ my $test_machine = Test::Collection->new(
$test_machine->DATA_ITEM_STORE($fake_data->process('pbxdevicemodels'));
@{$test_machine->content_type}{qw/POST PUT/} = (('multipart/form-data') x 2);
$test_machine->methods->{collection}->{allowed} = {map {$_ => 1} qw(GET HEAD OPTIONS POST)};
$test_machine->methods->{item}->{allowed} = {map {$_ => 1} qw(GET HEAD OPTIONS PUT PATCH)};
$test_machine->methods->{item}->{allowed} = {map {$_ => 1} qw(GET HEAD OPTIONS PUT PATCH DELETE)};
my $connactable_devices={};

Loading…
Cancel
Save