fix tests for bookworm

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
Fabian Grünbichler 2023-06-07 13:25:02 +02:00
parent f048b81513
commit cbf906daae
27 changed files with 28 additions and 1 deletions

View file

@ -7,6 +7,7 @@ bless( {
'content-type' => 'application/json; charset=UTF-8',
'x-api-key' => '1234'
}, 'HTTP::Headers' ),
'_max_body_size' => undef,
'_method' => 'PATCH',
'_uri' => bless( do{\(my $o = 'http://localhost:8881/api/v1/servers/localhost/zones/domain.com')}, 'URI::http' )
}, 'HTTP::Request' );

View file

@ -7,6 +7,7 @@ bless( {
'content-type' => 'application/json; charset=UTF-8',
'x-api-key' => '1234'
}, 'HTTP::Headers' ),
'_max_body_size' => undef,
'_method' => 'PATCH',
'_uri' => bless( do{\(my $o = 'http://localhost:8881/api/v1/servers/localhost/zones/domain.com')}, 'URI::http' )
}, 'HTTP::Request' );

View file

@ -7,6 +7,7 @@ bless( {
'content-type' => 'application/json; charset=UTF-8',
'x-api-key' => '1234'
}, 'HTTP::Headers' ),
'_max_body_size' => undef,
'_method' => 'PATCH',
'_uri' => bless( do{\(my $o = 'http://localhost:8881/api/v1/servers/localhost/zones/domain.com')}, 'URI::http' )
}, 'HTTP::Request' );
}, 'HTTP::Request' );

View file

@ -7,6 +7,7 @@ bless( {
'content-type' => 'application/json; charset=UTF-8',
'x-api-key' => '1234'
}, 'HTTP::Headers' ),
'_max_body_size' => undef,
'_method' => 'PATCH',
'_uri' => bless( do{\(my $o = 'http://localhost:8881/api/v1/servers/localhost/zones/domain.com')}, 'URI::http' )
}, 'HTTP::Request' );

View file

@ -7,6 +7,7 @@ bless( {
'content-type' => 'application/json; charset=UTF-8',
'x-api-key' => '1234'
}, 'HTTP::Headers' ),
'_max_body_size' => undef,
'_method' => 'PATCH',
'_uri' => bless( do{\(my $o = 'http://localhost:8881/api/v1/servers/localhost/zones/domain.com')}, 'URI::http' )
}, 'HTTP::Request' );

View file

@ -7,6 +7,7 @@ bless( {
'content-type' => 'application/json; charset=UTF-8',
'x-api-key' => '1234'
}, 'HTTP::Headers' ),
'_max_body_size' => undef,
'_method' => 'PATCH',
'_uri' => bless( do{\(my $o = 'http://localhost:8881/api/v1/servers/localhost/zones/domain.com')}, 'URI::http' )
}, 'HTTP::Request' );

View file

@ -7,6 +7,7 @@ bless( {
'content-type' => 'application/json; charset=UTF-8',
'x-api-key' => '1234'
}, 'HTTP::Headers' ),
'_max_body_size' => undef,
'_method' => 'PATCH',
'_uri' => bless( do{\(my $o = 'http://localhost:8881/api/v1/servers/localhost/zones/domain.com')}, 'URI::http' )
}, 'HTTP::Request' );

View file

@ -7,6 +7,7 @@ bless( {
'content-type' => 'application/json; charset=UTF-8',
'x-api-key' => '1234'
}, 'HTTP::Headers' ),
'_max_body_size' => undef,
'_method' => 'PATCH',
'_uri' => bless( do{\(my $o = 'http://localhost:8881/api/v1/servers/localhost/zones/domain.com')}, 'URI::http' )
}, 'HTTP::Request' );

View file

@ -7,6 +7,7 @@ bless( {
'content-type' => 'application/json; charset=UTF-8',
'x-api-key' => '1234'
}, 'HTTP::Headers' ),
'_max_body_size' => undef,
'_method' => 'PATCH',
'_uri' => bless( do{\(my $o = 'http://localhost:8881/api/v1/servers/localhost/zones/domain.com')}, 'URI::http' )
}, 'HTTP::Request' );

View file

@ -7,6 +7,7 @@ bless( {
'content-type' => 'application/json; charset=UTF-8',
'x-api-key' => '1234'
}, 'HTTP::Headers' ),
'_max_body_size' => undef,
'_method' => 'PATCH',
'_uri' => bless( do{\(my $o = 'http://localhost:8881/api/v1/servers/localhost/zones/domain.com')}, 'URI::http' )
}, 'HTTP::Request' );

View file

@ -7,6 +7,7 @@ bless( {
'content-type' => 'application/json; charset=UTF-8',
'x-api-key' => '1234'
}, 'HTTP::Headers' ),
'_max_body_size' => undef,
'_method' => 'PATCH',
'_uri' => bless( do{\(my $o = 'http://localhost:8881/api/v1/servers/localhost/zones/domain.com')}, 'URI::http' )
}, 'HTTP::Request' );

View file

@ -7,6 +7,7 @@ bless( {
'content-type' => 'application/json; charset=UTF-8',
'x-api-key' => '1234'
}, 'HTTP::Headers' ),
'_max_body_size' => undef,
'_method' => 'PATCH',
'_uri' => bless( do{\(my $o = 'http://localhost:8881/api/v1/servers/localhost/zones/domain.com')}, 'URI::http' )
}, 'HTTP::Request' );

View file

@ -7,6 +7,7 @@ bless( {
'content-type' => 'application/json; charset=UTF-8',
'x-api-key' => '1234'
}, 'HTTP::Headers' ),
'_max_body_size' => undef,
'_method' => 'GET',
'_uri' => bless( do{\(my $o = 'http://localhost:8881/api/v1/servers/localhost/zones/domain.com?rrsets=false')}, 'URI::http' )
}, 'HTTP::Request' );

View file

@ -4,6 +4,7 @@ bless( {
'authorization' => 'token 0123456789abcdef0123456789abcdef01234567',
'content-type' => 'application/json; charset=UTF-8'
}, 'HTTP::Headers' ),
'_max_body_size' => undef,
'_method' => 'POST',
'_uri' => bless( do{\(my $o = 'http://localhost:8000/api/ipam/ip-addresses/')}, 'URI::http' )
}, 'HTTP::Request' );

View file

@ -4,6 +4,7 @@ bless( {
'authorization' => 'token 0123456789abcdef0123456789abcdef01234567',
'content-type' => 'application/json; charset=UTF-8'
}, 'HTTP::Headers' ),
'_max_body_size' => undef,
'_method' => 'POST',
'_uri' => bless( do{\(my $o = 'http://localhost:8000/api/ipam/ip-addresses/')}, 'URI::http' )
}, 'HTTP::Request' );

View file

@ -4,6 +4,7 @@ bless( {
'authorization' => 'token 0123456789abcdef0123456789abcdef01234567',
'content-type' => 'application/json; charset=UTF-8'
}, 'HTTP::Headers' ),
'_max_body_size' => undef,
'_method' => 'POST',
'_uri' => bless( do{\(my $o = 'http://localhost:8000/api/ipam/prefixes/1/available-ips/')}, 'URI::http' )
}, 'HTTP::Request' );

View file

@ -4,6 +4,7 @@ bless( {
'authorization' => 'token 0123456789abcdef0123456789abcdef01234567',
'content-type' => 'application/json; charset=UTF-8'
}, 'HTTP::Headers' ),
'_max_body_size' => undef,
'_method' => 'POST',
'_uri' => bless( do{\(my $o = 'http://localhost:8000/api/ipam/prefixes/')}, 'URI::http' )
}, 'HTTP::Request' );

View file

@ -4,6 +4,7 @@ bless( {
'authorization' => 'token 0123456789abcdef0123456789abcdef01234567',
'content-type' => 'application/json; charset=UTF-8'
}, 'HTTP::Headers' ),
'_max_body_size' => undef,
'_method' => 'DELETE',
'_uri' => bless( do{\(my $o = 'http://localhost:8000/api/ipam/ip-addresses/1/')}, 'URI::http' )
}, 'HTTP::Request' );

View file

@ -4,6 +4,7 @@ bless( {
'authorization' => 'token 0123456789abcdef0123456789abcdef01234567',
'content-type' => 'application/json; charset=UTF-8'
}, 'HTTP::Headers' ),
'_max_body_size' => undef,
'_method' => 'POST',
'_uri' => bless( do{\(my $o = 'http://localhost:8000/api/ipam/ip-addresses/')}, 'URI::http' )
}, 'HTTP::Request' );

View file

@ -4,6 +4,7 @@ bless( {
'authorization' => 'token 0123456789abcdef0123456789abcdef01234567',
'content-type' => 'application/json; charset=UTF-8'
}, 'HTTP::Headers' ),
'_max_body_size' => undef,
'_method' => 'PATCH',
'_uri' => bless( do{\(my $o = 'http://localhost:8000/api/ipam/ip-addresses/1/')}, 'URI::http' )
}, 'HTTP::Request' );

View file

@ -7,6 +7,7 @@ bless( {
'content-type' => 'application/json; charset=UTF-8',
'token' => 'JPHkPSLB4O_XL-GQz4qtEFmNpx-99Htw'
}, 'HTTP::Headers' ),
'_max_body_size' => undef,
'_method' => 'POST',
'_uri' => bless( do{\(my $o = 'https://localhost/api/apiadmin/addresses/')}, 'URI::https' )
}, 'HTTP::Request' );

View file

@ -7,6 +7,7 @@ bless( {
'content-type' => 'application/json; charset=UTF-8',
'token' => 'JPHkPSLB4O_XL-GQz4qtEFmNpx-99Htw'
}, 'HTTP::Headers' ),
'_max_body_size' => undef,
'_method' => 'POST',
'_uri' => bless( do{\(my $o = 'https://localhost/api/apiadmin/addresses/')}, 'URI::https' )
}, 'HTTP::Request' );

View file

@ -7,6 +7,7 @@ bless( {
'content-type' => 'application/json; charset=UTF-8',
'token' => 'JPHkPSLB4O_XL-GQz4qtEFmNpx-99Htw'
}, 'HTTP::Headers' ),
'_max_body_size' => undef,
'_method' => 'POST',
'_uri' => bless( do{\(my $o = 'https://localhost/api/apiadmin/addresses/first_free/1/')}, 'URI::https' )
}, 'HTTP::Request' );

View file

@ -7,6 +7,7 @@ bless( {
'content-type' => 'application/json; charset=UTF-8',
'token' => 'JPHkPSLB4O_XL-GQz4qtEFmNpx-99Htw'
}, 'HTTP::Headers' ),
'_max_body_size' => undef,
'_method' => 'POST',
'_uri' => bless( do{\(my $o = 'https://localhost/api/apiadmin/subnets/')}, 'URI::https' )
}, 'HTTP::Request' );

View file

@ -7,6 +7,7 @@ bless( {
'content-type' => 'application/json; charset=UTF-8',
'token' => 'JPHkPSLB4O_XL-GQz4qtEFmNpx-99Htw'
}, 'HTTP::Headers' ),
'_max_body_size' => undef,
'_method' => 'DELETE',
'_uri' => bless( do{\(my $o = 'https://localhost/api/apiadmin/addresses/1')}, 'URI::https' )
}, 'HTTP::Request' );

View file

@ -7,6 +7,7 @@ bless( {
'content-type' => 'application/json; charset=UTF-8',
'token' => 'JPHkPSLB4O_XL-GQz4qtEFmNpx-99Htw'
}, 'HTTP::Headers' ),
'_max_body_size' => undef,
'_method' => 'POST',
'_uri' => bless( do{\(my $o = 'https://localhost/api/apiadmin/addresses/')}, 'URI::https' )
}, 'HTTP::Request' );

View file

@ -7,6 +7,7 @@ bless( {
'content-type' => 'application/json; charset=UTF-8',
'token' => 'JPHkPSLB4O_XL-GQz4qtEFmNpx-99Htw'
}, 'HTTP::Headers' ),
'_max_body_size' => undef,
'_method' => 'PATCH',
'_uri' => bless( do{\(my $o = 'https://localhost/api/apiadmin/addresses/1')}, 'URI::https' )
}, 'HTTP::Request' );