Bug 39438: (RM follow-up): Fix failing test

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
Lucas Gass 2026-02-06 17:28:06 +00:00
parent 2aaf585013
commit 115629bab3
No known key found for this signature in database
GPG Key ID: 60B447398B0D36CA
1 changed files with 8 additions and 2 deletions

View File

@ -219,8 +219,14 @@ subtest 'list_erm() tests' => sub {
# Cannot retrieve attributes from other tables
$t->get_ok("//$userid:$password@/api/v1/erm/extended_attribute_types?resource_type=order")
->status_is(400)
->json_is( "/errors" =>
[ { message => "Not in enum list: license, agreement, package, title.", path => "/resource_type" } ] );
->json_is(
"/errors" => [
{
message => "Not in enum list: license, agreement, agreement_period, package, title.",
path => "/resource_type"
}
]
);
# Warn on unsupported query parameter
$t->get_ok("//$userid:$password@/api/v1/erm/extended_attribute_types?blah=blah")