[Perl] Update _test.mustache templates to use done_testing (#17649)

* test(perl): Update test plan to use done_testing

close #14921

* fixup! test(perl): Update test plan to use done_testing

results of "./bin/generate-samples.sh ./bin/configs/perl.yaml"

* fixup! test(perl): Update test plan to use done_testing

regenerate samples

---------

Co-authored-by: William E Little Jr <13027375-bmodotdev@users.noreply.gitlab.com>
This commit is contained in:
William E Little Jr 2024-01-20 00:25:45 -06:00 committed by GitHub
parent 3767110b1b
commit 5b6b082504
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
61 changed files with 216 additions and 129 deletions

View File

@ -4,7 +4,7 @@
# Please update the test cases below to test the API endpoints. # Please update the test cases below to test the API endpoints.
# Ref: https://openapi-generator.tech # Ref: https://openapi-generator.tech
# #
use Test::More tests => 1; #TODO update number of test cases use Test::More;
use Test::Exception; use Test::Exception;
use lib 'lib'; use lib 'lib';
@ -29,3 +29,5 @@ isa_ok($api, '{{moduleName}}::{{classname}}');
{{/operation}} {{/operation}}
{{/operations}} {{/operations}}
done_testing();

View File

@ -4,7 +4,7 @@
# Please update the test cases below to test the model. # Please update the test cases below to test the model.
# Ref: https://openapi-generator.tech # Ref: https://openapi-generator.tech
# #
use Test::More tests => 2; use Test::More;
use Test::Exception; use Test::Exception;
use lib 'lib'; use lib 'lib';
@ -23,3 +23,5 @@ use_ok('{{moduleName}}::Object::{{classname}}');
{{/model}} {{/model}}
{{/models}} {{/models}}
done_testing();

View File

@ -17,7 +17,7 @@ Generated by: https://openapi-generator.tech
# Please update the test cases below to test the model. # Please update the test cases below to test the model.
# Ref: https://openapi-generator.tech # Ref: https://openapi-generator.tech
# #
use Test::More tests => 2; use Test::More;
use Test::Exception; use Test::Exception;
use lib 'lib'; use lib 'lib';
@ -32,3 +32,5 @@ use_ok('WWW::OpenAPIClient::Object::AdditionalPropertiesClass');
# #
#isa_ok($instance, 'WWW::OpenAPIClient::Object::AdditionalPropertiesClass'); #isa_ok($instance, 'WWW::OpenAPIClient::Object::AdditionalPropertiesClass');
done_testing();

View File

@ -17,7 +17,7 @@ Generated by: https://openapi-generator.tech
# Please update the test cases below to test the model. # Please update the test cases below to test the model.
# Ref: https://openapi-generator.tech # Ref: https://openapi-generator.tech
# #
use Test::More tests => 2; use Test::More;
use Test::Exception; use Test::Exception;
use lib 'lib'; use lib 'lib';
@ -32,3 +32,5 @@ use_ok('WWW::OpenAPIClient::Object::AllOfWithSingleRef');
# #
#isa_ok($instance, 'WWW::OpenAPIClient::Object::AllOfWithSingleRef'); #isa_ok($instance, 'WWW::OpenAPIClient::Object::AllOfWithSingleRef');
done_testing();

View File

@ -17,7 +17,7 @@ Generated by: https://openapi-generator.tech
# Please update the test cases below to test the model. # Please update the test cases below to test the model.
# Ref: https://openapi-generator.tech # Ref: https://openapi-generator.tech
# #
use Test::More tests => 2; use Test::More;
use Test::Exception; use Test::Exception;
use lib 'lib'; use lib 'lib';
@ -32,3 +32,5 @@ use_ok('WWW::OpenAPIClient::Object::Animal');
# #
#isa_ok($instance, 'WWW::OpenAPIClient::Object::Animal'); #isa_ok($instance, 'WWW::OpenAPIClient::Object::Animal');
done_testing();

View File

@ -17,7 +17,7 @@ Generated by: https://openapi-generator.tech
# Please update the test cases below to test the API endpoints. # Please update the test cases below to test the API endpoints.
# Ref: https://openapi-generator.tech # Ref: https://openapi-generator.tech
# #
use Test::More tests => 1; #TODO update number of test cases use Test::More;
use Test::Exception; use Test::Exception;
use lib 'lib'; use lib 'lib';
@ -36,3 +36,5 @@ isa_ok($api, 'WWW::OpenAPIClient::AnotherFakeApi');
#my $call_123_test_special_tags_client = undef; # replace NULL with a proper value #my $call_123_test_special_tags_client = undef; # replace NULL with a proper value
#my $call_123_test_special_tags_result = $api->call_123_test_special_tags(client => $call_123_test_special_tags_client); #my $call_123_test_special_tags_result = $api->call_123_test_special_tags(client => $call_123_test_special_tags_client);
done_testing();

View File

@ -17,7 +17,7 @@ Generated by: https://openapi-generator.tech
# Please update the test cases below to test the model. # Please update the test cases below to test the model.
# Ref: https://openapi-generator.tech # Ref: https://openapi-generator.tech
# #
use Test::More tests => 2; use Test::More;
use Test::Exception; use Test::Exception;
use lib 'lib'; use lib 'lib';
@ -32,3 +32,5 @@ use_ok('WWW::OpenAPIClient::Object::ApiResponse');
# #
#isa_ok($instance, 'WWW::OpenAPIClient::Object::ApiResponse'); #isa_ok($instance, 'WWW::OpenAPIClient::Object::ApiResponse');
done_testing();

View File

@ -17,7 +17,7 @@ Generated by: https://openapi-generator.tech
# Please update the test cases below to test the model. # Please update the test cases below to test the model.
# Ref: https://openapi-generator.tech # Ref: https://openapi-generator.tech
# #
use Test::More tests => 2; use Test::More;
use Test::Exception; use Test::Exception;
use lib 'lib'; use lib 'lib';
@ -32,3 +32,5 @@ use_ok('WWW::OpenAPIClient::Object::ArrayOfArrayOfNumberOnly');
# #
#isa_ok($instance, 'WWW::OpenAPIClient::Object::ArrayOfArrayOfNumberOnly'); #isa_ok($instance, 'WWW::OpenAPIClient::Object::ArrayOfArrayOfNumberOnly');
done_testing();

View File

@ -17,7 +17,7 @@ Generated by: https://openapi-generator.tech
# Please update the test cases below to test the model. # Please update the test cases below to test the model.
# Ref: https://openapi-generator.tech # Ref: https://openapi-generator.tech
# #
use Test::More tests => 2; use Test::More;
use Test::Exception; use Test::Exception;
use lib 'lib'; use lib 'lib';
@ -32,3 +32,5 @@ use_ok('WWW::OpenAPIClient::Object::ArrayOfNumberOnly');
# #
#isa_ok($instance, 'WWW::OpenAPIClient::Object::ArrayOfNumberOnly'); #isa_ok($instance, 'WWW::OpenAPIClient::Object::ArrayOfNumberOnly');
done_testing();

View File

@ -17,7 +17,7 @@ Generated by: https://openapi-generator.tech
# Please update the test cases below to test the model. # Please update the test cases below to test the model.
# Ref: https://openapi-generator.tech # Ref: https://openapi-generator.tech
# #
use Test::More tests => 2; use Test::More;
use Test::Exception; use Test::Exception;
use lib 'lib'; use lib 'lib';
@ -32,3 +32,5 @@ use_ok('WWW::OpenAPIClient::Object::ArrayTest');
# #
#isa_ok($instance, 'WWW::OpenAPIClient::Object::ArrayTest'); #isa_ok($instance, 'WWW::OpenAPIClient::Object::ArrayTest');
done_testing();

View File

@ -17,7 +17,7 @@ Generated by: https://openapi-generator.tech
# Please update the test cases below to test the model. # Please update the test cases below to test the model.
# Ref: https://openapi-generator.tech # Ref: https://openapi-generator.tech
# #
use Test::More tests => 2; use Test::More;
use Test::Exception; use Test::Exception;
use lib 'lib'; use lib 'lib';
@ -32,3 +32,5 @@ use_ok('WWW::OpenAPIClient::Object::Capitalization');
# #
#isa_ok($instance, 'WWW::OpenAPIClient::Object::Capitalization'); #isa_ok($instance, 'WWW::OpenAPIClient::Object::Capitalization');
done_testing();

View File

@ -17,7 +17,7 @@ Generated by: https://openapi-generator.tech
# Please update the test cases below to test the model. # Please update the test cases below to test the model.
# Ref: https://openapi-generator.tech # Ref: https://openapi-generator.tech
# #
use Test::More tests => 2; use Test::More;
use Test::Exception; use Test::Exception;
use lib 'lib'; use lib 'lib';
@ -32,3 +32,5 @@ use_ok('WWW::OpenAPIClient::Object::Cat');
# #
#isa_ok($instance, 'WWW::OpenAPIClient::Object::Cat'); #isa_ok($instance, 'WWW::OpenAPIClient::Object::Cat');
done_testing();

View File

@ -17,7 +17,7 @@ Generated by: https://openapi-generator.tech
# Please update the test cases below to test the model. # Please update the test cases below to test the model.
# Ref: https://openapi-generator.tech # Ref: https://openapi-generator.tech
# #
use Test::More tests => 2; use Test::More;
use Test::Exception; use Test::Exception;
use lib 'lib'; use lib 'lib';
@ -32,3 +32,5 @@ use_ok('WWW::OpenAPIClient::Object::Category');
# #
#isa_ok($instance, 'WWW::OpenAPIClient::Object::Category'); #isa_ok($instance, 'WWW::OpenAPIClient::Object::Category');
done_testing();

View File

@ -17,7 +17,7 @@ Generated by: https://openapi-generator.tech
# Please update the test cases below to test the model. # Please update the test cases below to test the model.
# Ref: https://openapi-generator.tech # Ref: https://openapi-generator.tech
# #
use Test::More tests => 2; use Test::More;
use Test::Exception; use Test::Exception;
use lib 'lib'; use lib 'lib';
@ -32,3 +32,5 @@ use_ok('WWW::OpenAPIClient::Object::ChildWithNullable');
# #
#isa_ok($instance, 'WWW::OpenAPIClient::Object::ChildWithNullable'); #isa_ok($instance, 'WWW::OpenAPIClient::Object::ChildWithNullable');
done_testing();

View File

@ -17,7 +17,7 @@ Generated by: https://openapi-generator.tech
# Please update the test cases below to test the model. # Please update the test cases below to test the model.
# Ref: https://openapi-generator.tech # Ref: https://openapi-generator.tech
# #
use Test::More tests => 2; use Test::More;
use Test::Exception; use Test::Exception;
use lib 'lib'; use lib 'lib';
@ -32,3 +32,5 @@ use_ok('WWW::OpenAPIClient::Object::ClassModel');
# #
#isa_ok($instance, 'WWW::OpenAPIClient::Object::ClassModel'); #isa_ok($instance, 'WWW::OpenAPIClient::Object::ClassModel');
done_testing();

View File

@ -17,7 +17,7 @@ Generated by: https://openapi-generator.tech
# Please update the test cases below to test the model. # Please update the test cases below to test the model.
# Ref: https://openapi-generator.tech # Ref: https://openapi-generator.tech
# #
use Test::More tests => 2; use Test::More;
use Test::Exception; use Test::Exception;
use lib 'lib'; use lib 'lib';
@ -32,3 +32,5 @@ use_ok('WWW::OpenAPIClient::Object::Client');
# #
#isa_ok($instance, 'WWW::OpenAPIClient::Object::Client'); #isa_ok($instance, 'WWW::OpenAPIClient::Object::Client');
done_testing();

View File

@ -17,7 +17,7 @@ Generated by: https://openapi-generator.tech
# Please update the test cases below to test the API endpoints. # Please update the test cases below to test the API endpoints.
# Ref: https://openapi-generator.tech # Ref: https://openapi-generator.tech
# #
use Test::More tests => 1; #TODO update number of test cases use Test::More;
use Test::Exception; use Test::Exception;
use lib 'lib'; use lib 'lib';
@ -35,3 +35,5 @@ isa_ok($api, 'WWW::OpenAPIClient::DefaultApi');
# uncomment below and update the test # uncomment below and update the test
#my $foo_get_result = $api->foo_get(); #my $foo_get_result = $api->foo_get();
done_testing();

View File

@ -17,7 +17,7 @@ Generated by: https://openapi-generator.tech
# Please update the test cases below to test the model. # Please update the test cases below to test the model.
# Ref: https://openapi-generator.tech # Ref: https://openapi-generator.tech
# #
use Test::More tests => 2; use Test::More;
use Test::Exception; use Test::Exception;
use lib 'lib'; use lib 'lib';
@ -32,3 +32,5 @@ use_ok('WWW::OpenAPIClient::Object::DeprecatedModel');
# #
#isa_ok($instance, 'WWW::OpenAPIClient::Object::DeprecatedModel'); #isa_ok($instance, 'WWW::OpenAPIClient::Object::DeprecatedModel');
done_testing();

View File

@ -1,34 +0,0 @@
=begin comment
OpenAPI Petstore
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
The version of the OpenAPI document: 1.0.0
Generated by: https://openapi-generator.tech
=end comment
=cut
#
# NOTE: This class is auto generated by the OpenAPI Generator
# Please update the test cases below to test the model.
# Ref: https://openapi-generator.tech
#
use Test::More tests => 2;
use Test::Exception;
use lib 'lib';
use strict;
use warnings;
use_ok('WWW::OpenAPIClient::Object::DeprecatedObject');
# uncomment below and update the test
#my $instance = WWW::OpenAPIClient::Object::DeprecatedObject->new();
#
#isa_ok($instance, 'WWW::OpenAPIClient::Object::DeprecatedObject');

View File

@ -17,7 +17,7 @@ Generated by: https://openapi-generator.tech
# Please update the test cases below to test the model. # Please update the test cases below to test the model.
# Ref: https://openapi-generator.tech # Ref: https://openapi-generator.tech
# #
use Test::More tests => 2; use Test::More;
use Test::Exception; use Test::Exception;
use lib 'lib'; use lib 'lib';
@ -32,3 +32,5 @@ use_ok('WWW::OpenAPIClient::Object::Dog');
# #
#isa_ok($instance, 'WWW::OpenAPIClient::Object::Dog'); #isa_ok($instance, 'WWW::OpenAPIClient::Object::Dog');
done_testing();

View File

@ -17,7 +17,7 @@ Generated by: https://openapi-generator.tech
# Please update the test cases below to test the model. # Please update the test cases below to test the model.
# Ref: https://openapi-generator.tech # Ref: https://openapi-generator.tech
# #
use Test::More tests => 2; use Test::More;
use Test::Exception; use Test::Exception;
use lib 'lib'; use lib 'lib';
@ -32,3 +32,5 @@ use_ok('WWW::OpenAPIClient::Object::EnumArrays');
# #
#isa_ok($instance, 'WWW::OpenAPIClient::Object::EnumArrays'); #isa_ok($instance, 'WWW::OpenAPIClient::Object::EnumArrays');
done_testing();

View File

@ -17,7 +17,7 @@ Generated by: https://openapi-generator.tech
# Please update the test cases below to test the model. # Please update the test cases below to test the model.
# Ref: https://openapi-generator.tech # Ref: https://openapi-generator.tech
# #
use Test::More tests => 2; use Test::More;
use Test::Exception; use Test::Exception;
use lib 'lib'; use lib 'lib';
@ -32,3 +32,5 @@ use_ok('WWW::OpenAPIClient::Object::EnumClass');
# #
#isa_ok($instance, 'WWW::OpenAPIClient::Object::EnumClass'); #isa_ok($instance, 'WWW::OpenAPIClient::Object::EnumClass');
done_testing();

View File

@ -17,7 +17,7 @@ Generated by: https://openapi-generator.tech
# Please update the test cases below to test the model. # Please update the test cases below to test the model.
# Ref: https://openapi-generator.tech # Ref: https://openapi-generator.tech
# #
use Test::More tests => 2; use Test::More;
use Test::Exception; use Test::Exception;
use lib 'lib'; use lib 'lib';
@ -32,3 +32,5 @@ use_ok('WWW::OpenAPIClient::Object::EnumTest');
# #
#isa_ok($instance, 'WWW::OpenAPIClient::Object::EnumTest'); #isa_ok($instance, 'WWW::OpenAPIClient::Object::EnumTest');
done_testing();

View File

@ -17,7 +17,7 @@ Generated by: https://openapi-generator.tech
# Please update the test cases below to test the API endpoints. # Please update the test cases below to test the API endpoints.
# Ref: https://openapi-generator.tech # Ref: https://openapi-generator.tech
# #
use Test::More tests => 1; #TODO update number of test cases use Test::More;
use Test::Exception; use Test::Exception;
use lib 'lib'; use lib 'lib';
@ -29,6 +29,12 @@ use_ok('WWW::OpenAPIClient::FakeApi');
my $api = WWW::OpenAPIClient::FakeApi->new(); my $api = WWW::OpenAPIClient::FakeApi->new();
isa_ok($api, 'WWW::OpenAPIClient::FakeApi'); isa_ok($api, 'WWW::OpenAPIClient::FakeApi');
#
# fake_big_decimal_map test
#
# uncomment below and update the test
#my $fake_big_decimal_map_result = $api->fake_big_decimal_map();
# #
# fake_health_get test # fake_health_get test
# #
@ -79,6 +85,20 @@ isa_ok($api, 'WWW::OpenAPIClient::FakeApi');
#my $fake_property_enum_integer_serialize_outer_object_with_enum_property = undef; # replace NULL with a proper value #my $fake_property_enum_integer_serialize_outer_object_with_enum_property = undef; # replace NULL with a proper value
#my $fake_property_enum_integer_serialize_result = $api->fake_property_enum_integer_serialize(outer_object_with_enum_property => $fake_property_enum_integer_serialize_outer_object_with_enum_property); #my $fake_property_enum_integer_serialize_result = $api->fake_property_enum_integer_serialize(outer_object_with_enum_property => $fake_property_enum_integer_serialize_outer_object_with_enum_property);
#
# test_additional_properties_reference test
#
# uncomment below and update the test
#my $test_additional_properties_reference_request_body = undef; # replace NULL with a proper value
#my $test_additional_properties_reference_result = $api->test_additional_properties_reference(request_body => $test_additional_properties_reference_request_body);
#
# test_body_with_binary test
#
# uncomment below and update the test
#my $test_body_with_binary_body = undef; # replace NULL with a proper value
#my $test_body_with_binary_result = $api->test_body_with_binary(body => $test_body_with_binary_body);
# #
# test_body_with_file_schema test # test_body_with_file_schema test
# #
@ -131,9 +151,10 @@ isa_ok($api, 'WWW::OpenAPIClient::FakeApi');
#my $test_enum_parameters_enum_query_string = undef; # replace NULL with a proper value #my $test_enum_parameters_enum_query_string = undef; # replace NULL with a proper value
#my $test_enum_parameters_enum_query_integer = undef; # replace NULL with a proper value #my $test_enum_parameters_enum_query_integer = undef; # replace NULL with a proper value
#my $test_enum_parameters_enum_query_double = undef; # replace NULL with a proper value #my $test_enum_parameters_enum_query_double = undef; # replace NULL with a proper value
#my $test_enum_parameters_enum_query_model_array = undef; # replace NULL with a proper value
#my $test_enum_parameters_enum_form_string_array = undef; # replace NULL with a proper value #my $test_enum_parameters_enum_form_string_array = undef; # replace NULL with a proper value
#my $test_enum_parameters_enum_form_string = undef; # replace NULL with a proper value #my $test_enum_parameters_enum_form_string = undef; # replace NULL with a proper value
#my $test_enum_parameters_result = $api->test_enum_parameters(enum_header_string_array => $test_enum_parameters_enum_header_string_array, enum_header_string => $test_enum_parameters_enum_header_string, enum_query_string_array => $test_enum_parameters_enum_query_string_array, enum_query_string => $test_enum_parameters_enum_query_string, enum_query_integer => $test_enum_parameters_enum_query_integer, enum_query_double => $test_enum_parameters_enum_query_double, enum_form_string_array => $test_enum_parameters_enum_form_string_array, enum_form_string => $test_enum_parameters_enum_form_string); #my $test_enum_parameters_result = $api->test_enum_parameters(enum_header_string_array => $test_enum_parameters_enum_header_string_array, enum_header_string => $test_enum_parameters_enum_header_string, enum_query_string_array => $test_enum_parameters_enum_query_string_array, enum_query_string => $test_enum_parameters_enum_query_string, enum_query_integer => $test_enum_parameters_enum_query_integer, enum_query_double => $test_enum_parameters_enum_query_double, enum_query_model_array => $test_enum_parameters_enum_query_model_array, enum_form_string_array => $test_enum_parameters_enum_form_string_array, enum_form_string => $test_enum_parameters_enum_form_string);
# #
# test_group_parameters test # test_group_parameters test
@ -154,6 +175,13 @@ isa_ok($api, 'WWW::OpenAPIClient::FakeApi');
#my $test_inline_additional_properties_request_body = undef; # replace NULL with a proper value #my $test_inline_additional_properties_request_body = undef; # replace NULL with a proper value
#my $test_inline_additional_properties_result = $api->test_inline_additional_properties(request_body => $test_inline_additional_properties_request_body); #my $test_inline_additional_properties_result = $api->test_inline_additional_properties(request_body => $test_inline_additional_properties_request_body);
#
# test_inline_freeform_additional_properties test
#
# uncomment below and update the test
#my $test_inline_freeform_additional_properties_test_inline_freeform_additional_properties_request = undef; # replace NULL with a proper value
#my $test_inline_freeform_additional_properties_result = $api->test_inline_freeform_additional_properties(test_inline_freeform_additional_properties_request => $test_inline_freeform_additional_properties_test_inline_freeform_additional_properties_request);
# #
# test_json_form_data test # test_json_form_data test
# #
@ -162,6 +190,13 @@ isa_ok($api, 'WWW::OpenAPIClient::FakeApi');
#my $test_json_form_data_param2 = undef; # replace NULL with a proper value #my $test_json_form_data_param2 = undef; # replace NULL with a proper value
#my $test_json_form_data_result = $api->test_json_form_data(param => $test_json_form_data_param, param2 => $test_json_form_data_param2); #my $test_json_form_data_result = $api->test_json_form_data(param => $test_json_form_data_param, param2 => $test_json_form_data_param2);
#
# test_nullable test
#
# uncomment below and update the test
#my $test_nullable_child_with_nullable = undef; # replace NULL with a proper value
#my $test_nullable_result = $api->test_nullable(child_with_nullable => $test_nullable_child_with_nullable);
# #
# test_query_parameter_collection_format test # test_query_parameter_collection_format test
# #
@ -171,5 +206,9 @@ isa_ok($api, 'WWW::OpenAPIClient::FakeApi');
#my $test_query_parameter_collection_format_http = undef; # replace NULL with a proper value #my $test_query_parameter_collection_format_http = undef; # replace NULL with a proper value
#my $test_query_parameter_collection_format_url = undef; # replace NULL with a proper value #my $test_query_parameter_collection_format_url = undef; # replace NULL with a proper value
#my $test_query_parameter_collection_format_context = undef; # replace NULL with a proper value #my $test_query_parameter_collection_format_context = undef; # replace NULL with a proper value
#my $test_query_parameter_collection_format_result = $api->test_query_parameter_collection_format(pipe => $test_query_parameter_collection_format_pipe, ioutil => $test_query_parameter_collection_format_ioutil, http => $test_query_parameter_collection_format_http, url => $test_query_parameter_collection_format_url, context => $test_query_parameter_collection_format_context); #my $test_query_parameter_collection_format_allow_empty = undef; # replace NULL with a proper value
#my $test_query_parameter_collection_format_language = undef; # replace NULL with a proper value
#my $test_query_parameter_collection_format_result = $api->test_query_parameter_collection_format(pipe => $test_query_parameter_collection_format_pipe, ioutil => $test_query_parameter_collection_format_ioutil, http => $test_query_parameter_collection_format_http, url => $test_query_parameter_collection_format_url, context => $test_query_parameter_collection_format_context, allow_empty => $test_query_parameter_collection_format_allow_empty, language => $test_query_parameter_collection_format_language);
done_testing();

View File

@ -17,7 +17,7 @@ Generated by: https://openapi-generator.tech
# Please update the test cases below to test the model. # Please update the test cases below to test the model.
# Ref: https://openapi-generator.tech # Ref: https://openapi-generator.tech
# #
use Test::More tests => 2; use Test::More;
use Test::Exception; use Test::Exception;
use lib 'lib'; use lib 'lib';
@ -32,3 +32,5 @@ use_ok('WWW::OpenAPIClient::Object::FakeBigDecimalMap200Response');
# #
#isa_ok($instance, 'WWW::OpenAPIClient::Object::FakeBigDecimalMap200Response'); #isa_ok($instance, 'WWW::OpenAPIClient::Object::FakeBigDecimalMap200Response');
done_testing();

View File

@ -17,7 +17,7 @@ Generated by: https://openapi-generator.tech
# Please update the test cases below to test the API endpoints. # Please update the test cases below to test the API endpoints.
# Ref: https://openapi-generator.tech # Ref: https://openapi-generator.tech
# #
use Test::More tests => 1; #TODO update number of test cases use Test::More;
use Test::Exception; use Test::Exception;
use lib 'lib'; use lib 'lib';
@ -36,3 +36,5 @@ isa_ok($api, 'WWW::OpenAPIClient::FakeClassnameTags123Api');
#my $test_classname_client = undef; # replace NULL with a proper value #my $test_classname_client = undef; # replace NULL with a proper value
#my $test_classname_result = $api->test_classname(client => $test_classname_client); #my $test_classname_result = $api->test_classname(client => $test_classname_client);
done_testing();

View File

@ -17,7 +17,7 @@ Generated by: https://openapi-generator.tech
# Please update the test cases below to test the model. # Please update the test cases below to test the model.
# Ref: https://openapi-generator.tech # Ref: https://openapi-generator.tech
# #
use Test::More tests => 2; use Test::More;
use Test::Exception; use Test::Exception;
use lib 'lib'; use lib 'lib';
@ -32,3 +32,5 @@ use_ok('WWW::OpenAPIClient::Object::FileSchemaTestClass');
# #
#isa_ok($instance, 'WWW::OpenAPIClient::Object::FileSchemaTestClass'); #isa_ok($instance, 'WWW::OpenAPIClient::Object::FileSchemaTestClass');
done_testing();

View File

@ -17,7 +17,7 @@ Generated by: https://openapi-generator.tech
# Please update the test cases below to test the model. # Please update the test cases below to test the model.
# Ref: https://openapi-generator.tech # Ref: https://openapi-generator.tech
# #
use Test::More tests => 2; use Test::More;
use Test::Exception; use Test::Exception;
use lib 'lib'; use lib 'lib';
@ -32,3 +32,5 @@ use_ok('WWW::OpenAPIClient::Object::File');
# #
#isa_ok($instance, 'WWW::OpenAPIClient::Object::File'); #isa_ok($instance, 'WWW::OpenAPIClient::Object::File');
done_testing();

View File

@ -17,7 +17,7 @@ Generated by: https://openapi-generator.tech
# Please update the test cases below to test the model. # Please update the test cases below to test the model.
# Ref: https://openapi-generator.tech # Ref: https://openapi-generator.tech
# #
use Test::More tests => 2; use Test::More;
use Test::Exception; use Test::Exception;
use lib 'lib'; use lib 'lib';
@ -32,3 +32,5 @@ use_ok('WWW::OpenAPIClient::Object::FooGetDefaultResponse');
# #
#isa_ok($instance, 'WWW::OpenAPIClient::Object::FooGetDefaultResponse'); #isa_ok($instance, 'WWW::OpenAPIClient::Object::FooGetDefaultResponse');
done_testing();

View File

@ -17,7 +17,7 @@ Generated by: https://openapi-generator.tech
# Please update the test cases below to test the model. # Please update the test cases below to test the model.
# Ref: https://openapi-generator.tech # Ref: https://openapi-generator.tech
# #
use Test::More tests => 2; use Test::More;
use Test::Exception; use Test::Exception;
use lib 'lib'; use lib 'lib';
@ -32,3 +32,5 @@ use_ok('WWW::OpenAPIClient::Object::Foo');
# #
#isa_ok($instance, 'WWW::OpenAPIClient::Object::Foo'); #isa_ok($instance, 'WWW::OpenAPIClient::Object::Foo');
done_testing();

View File

@ -17,7 +17,7 @@ Generated by: https://openapi-generator.tech
# Please update the test cases below to test the model. # Please update the test cases below to test the model.
# Ref: https://openapi-generator.tech # Ref: https://openapi-generator.tech
# #
use Test::More tests => 2; use Test::More;
use Test::Exception; use Test::Exception;
use lib 'lib'; use lib 'lib';
@ -32,3 +32,5 @@ use_ok('WWW::OpenAPIClient::Object::FormatTest');
# #
#isa_ok($instance, 'WWW::OpenAPIClient::Object::FormatTest'); #isa_ok($instance, 'WWW::OpenAPIClient::Object::FormatTest');
done_testing();

View File

@ -17,7 +17,7 @@ Generated by: https://openapi-generator.tech
# Please update the test cases below to test the model. # Please update the test cases below to test the model.
# Ref: https://openapi-generator.tech # Ref: https://openapi-generator.tech
# #
use Test::More tests => 2; use Test::More;
use Test::Exception; use Test::Exception;
use lib 'lib'; use lib 'lib';
@ -32,3 +32,5 @@ use_ok('WWW::OpenAPIClient::Object::HasOnlyReadOnly');
# #
#isa_ok($instance, 'WWW::OpenAPIClient::Object::HasOnlyReadOnly'); #isa_ok($instance, 'WWW::OpenAPIClient::Object::HasOnlyReadOnly');
done_testing();

View File

@ -17,7 +17,7 @@ Generated by: https://openapi-generator.tech
# Please update the test cases below to test the model. # Please update the test cases below to test the model.
# Ref: https://openapi-generator.tech # Ref: https://openapi-generator.tech
# #
use Test::More tests => 2; use Test::More;
use Test::Exception; use Test::Exception;
use lib 'lib'; use lib 'lib';
@ -32,3 +32,5 @@ use_ok('WWW::OpenAPIClient::Object::HealthCheckResult');
# #
#isa_ok($instance, 'WWW::OpenAPIClient::Object::HealthCheckResult'); #isa_ok($instance, 'WWW::OpenAPIClient::Object::HealthCheckResult');
done_testing();

View File

@ -1,34 +0,0 @@
=begin comment
OpenAPI Petstore
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
The version of the OpenAPI document: 1.0.0
Generated by: https://openapi-generator.tech
=end comment
=cut
#
# NOTE: This class is auto generated by the OpenAPI Generator
# Please update the test cases below to test the model.
# Ref: https://openapi-generator.tech
#
use Test::More tests => 2;
use Test::Exception;
use lib 'lib';
use strict;
use warnings;
use_ok('WWW::OpenAPIClient::Object::InlineResponseDefault');
# uncomment below and update the test
#my $instance = WWW::OpenAPIClient::Object::InlineResponseDefault->new();
#
#isa_ok($instance, 'WWW::OpenAPIClient::Object::InlineResponseDefault');

View File

@ -17,7 +17,7 @@ Generated by: https://openapi-generator.tech
# Please update the test cases below to test the model. # Please update the test cases below to test the model.
# Ref: https://openapi-generator.tech # Ref: https://openapi-generator.tech
# #
use Test::More tests => 2; use Test::More;
use Test::Exception; use Test::Exception;
use lib 'lib'; use lib 'lib';
@ -32,3 +32,5 @@ use_ok('WWW::OpenAPIClient::Object::List');
# #
#isa_ok($instance, 'WWW::OpenAPIClient::Object::List'); #isa_ok($instance, 'WWW::OpenAPIClient::Object::List');
done_testing();

View File

@ -17,7 +17,7 @@ Generated by: https://openapi-generator.tech
# Please update the test cases below to test the model. # Please update the test cases below to test the model.
# Ref: https://openapi-generator.tech # Ref: https://openapi-generator.tech
# #
use Test::More tests => 2; use Test::More;
use Test::Exception; use Test::Exception;
use lib 'lib'; use lib 'lib';
@ -32,3 +32,5 @@ use_ok('WWW::OpenAPIClient::Object::MapTest');
# #
#isa_ok($instance, 'WWW::OpenAPIClient::Object::MapTest'); #isa_ok($instance, 'WWW::OpenAPIClient::Object::MapTest');
done_testing();

View File

@ -17,7 +17,7 @@ Generated by: https://openapi-generator.tech
# Please update the test cases below to test the model. # Please update the test cases below to test the model.
# Ref: https://openapi-generator.tech # Ref: https://openapi-generator.tech
# #
use Test::More tests => 2; use Test::More;
use Test::Exception; use Test::Exception;
use lib 'lib'; use lib 'lib';
@ -32,3 +32,5 @@ use_ok('WWW::OpenAPIClient::Object::MixedPropertiesAndAdditionalPropertiesClass'
# #
#isa_ok($instance, 'WWW::OpenAPIClient::Object::MixedPropertiesAndAdditionalPropertiesClass'); #isa_ok($instance, 'WWW::OpenAPIClient::Object::MixedPropertiesAndAdditionalPropertiesClass');
done_testing();

View File

@ -17,7 +17,7 @@ Generated by: https://openapi-generator.tech
# Please update the test cases below to test the model. # Please update the test cases below to test the model.
# Ref: https://openapi-generator.tech # Ref: https://openapi-generator.tech
# #
use Test::More tests => 2; use Test::More;
use Test::Exception; use Test::Exception;
use lib 'lib'; use lib 'lib';
@ -32,3 +32,5 @@ use_ok('WWW::OpenAPIClient::Object::Model200Response');
# #
#isa_ok($instance, 'WWW::OpenAPIClient::Object::Model200Response'); #isa_ok($instance, 'WWW::OpenAPIClient::Object::Model200Response');
done_testing();

View File

@ -17,7 +17,7 @@ Generated by: https://openapi-generator.tech
# Please update the test cases below to test the model. # Please update the test cases below to test the model.
# Ref: https://openapi-generator.tech # Ref: https://openapi-generator.tech
# #
use Test::More tests => 2; use Test::More;
use Test::Exception; use Test::Exception;
use lib 'lib'; use lib 'lib';
@ -32,3 +32,5 @@ use_ok('WWW::OpenAPIClient::Object::ModelReturn');
# #
#isa_ok($instance, 'WWW::OpenAPIClient::Object::ModelReturn'); #isa_ok($instance, 'WWW::OpenAPIClient::Object::ModelReturn');
done_testing();

View File

@ -17,7 +17,7 @@ Generated by: https://openapi-generator.tech
# Please update the test cases below to test the model. # Please update the test cases below to test the model.
# Ref: https://openapi-generator.tech # Ref: https://openapi-generator.tech
# #
use Test::More tests => 2; use Test::More;
use Test::Exception; use Test::Exception;
use lib 'lib'; use lib 'lib';
@ -32,3 +32,5 @@ use_ok('WWW::OpenAPIClient::Object::Name');
# #
#isa_ok($instance, 'WWW::OpenAPIClient::Object::Name'); #isa_ok($instance, 'WWW::OpenAPIClient::Object::Name');
done_testing();

View File

@ -17,7 +17,7 @@ Generated by: https://openapi-generator.tech
# Please update the test cases below to test the model. # Please update the test cases below to test the model.
# Ref: https://openapi-generator.tech # Ref: https://openapi-generator.tech
# #
use Test::More tests => 2; use Test::More;
use Test::Exception; use Test::Exception;
use lib 'lib'; use lib 'lib';
@ -32,3 +32,5 @@ use_ok('WWW::OpenAPIClient::Object::NullableClass');
# #
#isa_ok($instance, 'WWW::OpenAPIClient::Object::NullableClass'); #isa_ok($instance, 'WWW::OpenAPIClient::Object::NullableClass');
done_testing();

View File

@ -17,7 +17,7 @@ Generated by: https://openapi-generator.tech
# Please update the test cases below to test the model. # Please update the test cases below to test the model.
# Ref: https://openapi-generator.tech # Ref: https://openapi-generator.tech
# #
use Test::More tests => 2; use Test::More;
use Test::Exception; use Test::Exception;
use lib 'lib'; use lib 'lib';
@ -32,3 +32,5 @@ use_ok('WWW::OpenAPIClient::Object::NumberOnly');
# #
#isa_ok($instance, 'WWW::OpenAPIClient::Object::NumberOnly'); #isa_ok($instance, 'WWW::OpenAPIClient::Object::NumberOnly');
done_testing();

View File

@ -17,7 +17,7 @@ Generated by: https://openapi-generator.tech
# Please update the test cases below to test the model. # Please update the test cases below to test the model.
# Ref: https://openapi-generator.tech # Ref: https://openapi-generator.tech
# #
use Test::More tests => 2; use Test::More;
use Test::Exception; use Test::Exception;
use lib 'lib'; use lib 'lib';
@ -32,3 +32,5 @@ use_ok('WWW::OpenAPIClient::Object::ObjectWithDeprecatedFields');
# #
#isa_ok($instance, 'WWW::OpenAPIClient::Object::ObjectWithDeprecatedFields'); #isa_ok($instance, 'WWW::OpenAPIClient::Object::ObjectWithDeprecatedFields');
done_testing();

View File

@ -17,7 +17,7 @@ Generated by: https://openapi-generator.tech
# Please update the test cases below to test the model. # Please update the test cases below to test the model.
# Ref: https://openapi-generator.tech # Ref: https://openapi-generator.tech
# #
use Test::More tests => 2; use Test::More;
use Test::Exception; use Test::Exception;
use lib 'lib'; use lib 'lib';
@ -32,3 +32,5 @@ use_ok('WWW::OpenAPIClient::Object::Order');
# #
#isa_ok($instance, 'WWW::OpenAPIClient::Object::Order'); #isa_ok($instance, 'WWW::OpenAPIClient::Object::Order');
done_testing();

View File

@ -17,7 +17,7 @@ Generated by: https://openapi-generator.tech
# Please update the test cases below to test the model. # Please update the test cases below to test the model.
# Ref: https://openapi-generator.tech # Ref: https://openapi-generator.tech
# #
use Test::More tests => 2; use Test::More;
use Test::Exception; use Test::Exception;
use lib 'lib'; use lib 'lib';
@ -32,3 +32,5 @@ use_ok('WWW::OpenAPIClient::Object::OuterComposite');
# #
#isa_ok($instance, 'WWW::OpenAPIClient::Object::OuterComposite'); #isa_ok($instance, 'WWW::OpenAPIClient::Object::OuterComposite');
done_testing();

View File

@ -17,7 +17,7 @@ Generated by: https://openapi-generator.tech
# Please update the test cases below to test the model. # Please update the test cases below to test the model.
# Ref: https://openapi-generator.tech # Ref: https://openapi-generator.tech
# #
use Test::More tests => 2; use Test::More;
use Test::Exception; use Test::Exception;
use lib 'lib'; use lib 'lib';
@ -32,3 +32,5 @@ use_ok('WWW::OpenAPIClient::Object::OuterEnumDefaultValue');
# #
#isa_ok($instance, 'WWW::OpenAPIClient::Object::OuterEnumDefaultValue'); #isa_ok($instance, 'WWW::OpenAPIClient::Object::OuterEnumDefaultValue');
done_testing();

View File

@ -17,7 +17,7 @@ Generated by: https://openapi-generator.tech
# Please update the test cases below to test the model. # Please update the test cases below to test the model.
# Ref: https://openapi-generator.tech # Ref: https://openapi-generator.tech
# #
use Test::More tests => 2; use Test::More;
use Test::Exception; use Test::Exception;
use lib 'lib'; use lib 'lib';
@ -32,3 +32,5 @@ use_ok('WWW::OpenAPIClient::Object::OuterEnumIntegerDefaultValue');
# #
#isa_ok($instance, 'WWW::OpenAPIClient::Object::OuterEnumIntegerDefaultValue'); #isa_ok($instance, 'WWW::OpenAPIClient::Object::OuterEnumIntegerDefaultValue');
done_testing();

View File

@ -17,7 +17,7 @@ Generated by: https://openapi-generator.tech
# Please update the test cases below to test the model. # Please update the test cases below to test the model.
# Ref: https://openapi-generator.tech # Ref: https://openapi-generator.tech
# #
use Test::More tests => 2; use Test::More;
use Test::Exception; use Test::Exception;
use lib 'lib'; use lib 'lib';
@ -32,3 +32,5 @@ use_ok('WWW::OpenAPIClient::Object::OuterEnumInteger');
# #
#isa_ok($instance, 'WWW::OpenAPIClient::Object::OuterEnumInteger'); #isa_ok($instance, 'WWW::OpenAPIClient::Object::OuterEnumInteger');
done_testing();

View File

@ -17,7 +17,7 @@ Generated by: https://openapi-generator.tech
# Please update the test cases below to test the model. # Please update the test cases below to test the model.
# Ref: https://openapi-generator.tech # Ref: https://openapi-generator.tech
# #
use Test::More tests => 2; use Test::More;
use Test::Exception; use Test::Exception;
use lib 'lib'; use lib 'lib';
@ -32,3 +32,5 @@ use_ok('WWW::OpenAPIClient::Object::OuterEnum');
# #
#isa_ok($instance, 'WWW::OpenAPIClient::Object::OuterEnum'); #isa_ok($instance, 'WWW::OpenAPIClient::Object::OuterEnum');
done_testing();

View File

@ -17,7 +17,7 @@ Generated by: https://openapi-generator.tech
# Please update the test cases below to test the model. # Please update the test cases below to test the model.
# Ref: https://openapi-generator.tech # Ref: https://openapi-generator.tech
# #
use Test::More tests => 2; use Test::More;
use Test::Exception; use Test::Exception;
use lib 'lib'; use lib 'lib';
@ -32,3 +32,5 @@ use_ok('WWW::OpenAPIClient::Object::OuterObjectWithEnumProperty');
# #
#isa_ok($instance, 'WWW::OpenAPIClient::Object::OuterObjectWithEnumProperty'); #isa_ok($instance, 'WWW::OpenAPIClient::Object::OuterObjectWithEnumProperty');
done_testing();

View File

@ -17,7 +17,7 @@ Generated by: https://openapi-generator.tech
# Please update the test cases below to test the model. # Please update the test cases below to test the model.
# Ref: https://openapi-generator.tech # Ref: https://openapi-generator.tech
# #
use Test::More tests => 2; use Test::More;
use Test::Exception; use Test::Exception;
use lib 'lib'; use lib 'lib';
@ -32,3 +32,5 @@ use_ok('WWW::OpenAPIClient::Object::ParentWithNullable');
# #
#isa_ok($instance, 'WWW::OpenAPIClient::Object::ParentWithNullable'); #isa_ok($instance, 'WWW::OpenAPIClient::Object::ParentWithNullable');
done_testing();

View File

@ -17,7 +17,7 @@ Generated by: https://openapi-generator.tech
# Please update the test cases below to test the API endpoints. # Please update the test cases below to test the API endpoints.
# Ref: https://openapi-generator.tech # Ref: https://openapi-generator.tech
# #
use Test::More tests => 1; #TODO update number of test cases use Test::More;
use Test::Exception; use Test::Exception;
use lib 'lib'; use lib 'lib';
@ -99,3 +99,5 @@ isa_ok($api, 'WWW::OpenAPIClient::PetApi');
#my $upload_file_with_required_file_additional_metadata = undef; # replace NULL with a proper value #my $upload_file_with_required_file_additional_metadata = undef; # replace NULL with a proper value
#my $upload_file_with_required_file_result = $api->upload_file_with_required_file(pet_id => $upload_file_with_required_file_pet_id, required_file => $upload_file_with_required_file_required_file, additional_metadata => $upload_file_with_required_file_additional_metadata); #my $upload_file_with_required_file_result = $api->upload_file_with_required_file(pet_id => $upload_file_with_required_file_pet_id, required_file => $upload_file_with_required_file_required_file, additional_metadata => $upload_file_with_required_file_additional_metadata);
done_testing();

View File

@ -17,7 +17,7 @@ Generated by: https://openapi-generator.tech
# Please update the test cases below to test the model. # Please update the test cases below to test the model.
# Ref: https://openapi-generator.tech # Ref: https://openapi-generator.tech
# #
use Test::More tests => 2; use Test::More;
use Test::Exception; use Test::Exception;
use lib 'lib'; use lib 'lib';
@ -32,3 +32,5 @@ use_ok('WWW::OpenAPIClient::Object::Pet');
# #
#isa_ok($instance, 'WWW::OpenAPIClient::Object::Pet'); #isa_ok($instance, 'WWW::OpenAPIClient::Object::Pet');
done_testing();

View File

@ -17,7 +17,7 @@ Generated by: https://openapi-generator.tech
# Please update the test cases below to test the model. # Please update the test cases below to test the model.
# Ref: https://openapi-generator.tech # Ref: https://openapi-generator.tech
# #
use Test::More tests => 2; use Test::More;
use Test::Exception; use Test::Exception;
use lib 'lib'; use lib 'lib';
@ -32,3 +32,5 @@ use_ok('WWW::OpenAPIClient::Object::ReadOnlyFirst');
# #
#isa_ok($instance, 'WWW::OpenAPIClient::Object::ReadOnlyFirst'); #isa_ok($instance, 'WWW::OpenAPIClient::Object::ReadOnlyFirst');
done_testing();

View File

@ -17,7 +17,7 @@ Generated by: https://openapi-generator.tech
# Please update the test cases below to test the model. # Please update the test cases below to test the model.
# Ref: https://openapi-generator.tech # Ref: https://openapi-generator.tech
# #
use Test::More tests => 2; use Test::More;
use Test::Exception; use Test::Exception;
use lib 'lib'; use lib 'lib';
@ -32,3 +32,5 @@ use_ok('WWW::OpenAPIClient::Object::SingleRefType');
# #
#isa_ok($instance, 'WWW::OpenAPIClient::Object::SingleRefType'); #isa_ok($instance, 'WWW::OpenAPIClient::Object::SingleRefType');
done_testing();

View File

@ -17,7 +17,7 @@ Generated by: https://openapi-generator.tech
# Please update the test cases below to test the model. # Please update the test cases below to test the model.
# Ref: https://openapi-generator.tech # Ref: https://openapi-generator.tech
# #
use Test::More tests => 2; use Test::More;
use Test::Exception; use Test::Exception;
use lib 'lib'; use lib 'lib';
@ -32,3 +32,5 @@ use_ok('WWW::OpenAPIClient::Object::SpecialModelName');
# #
#isa_ok($instance, 'WWW::OpenAPIClient::Object::SpecialModelName'); #isa_ok($instance, 'WWW::OpenAPIClient::Object::SpecialModelName');
done_testing();

View File

@ -17,7 +17,7 @@ Generated by: https://openapi-generator.tech
# Please update the test cases below to test the API endpoints. # Please update the test cases below to test the API endpoints.
# Ref: https://openapi-generator.tech # Ref: https://openapi-generator.tech
# #
use Test::More tests => 1; #TODO update number of test cases use Test::More;
use Test::Exception; use Test::Exception;
use lib 'lib'; use lib 'lib';
@ -56,3 +56,5 @@ isa_ok($api, 'WWW::OpenAPIClient::StoreApi');
#my $place_order_order = undef; # replace NULL with a proper value #my $place_order_order = undef; # replace NULL with a proper value
#my $place_order_result = $api->place_order(order => $place_order_order); #my $place_order_result = $api->place_order(order => $place_order_order);
done_testing();

View File

@ -17,7 +17,7 @@ Generated by: https://openapi-generator.tech
# Please update the test cases below to test the model. # Please update the test cases below to test the model.
# Ref: https://openapi-generator.tech # Ref: https://openapi-generator.tech
# #
use Test::More tests => 2; use Test::More;
use Test::Exception; use Test::Exception;
use lib 'lib'; use lib 'lib';
@ -32,3 +32,5 @@ use_ok('WWW::OpenAPIClient::Object::Tag');
# #
#isa_ok($instance, 'WWW::OpenAPIClient::Object::Tag'); #isa_ok($instance, 'WWW::OpenAPIClient::Object::Tag');
done_testing();

View File

@ -17,7 +17,7 @@ Generated by: https://openapi-generator.tech
# Please update the test cases below to test the model. # Please update the test cases below to test the model.
# Ref: https://openapi-generator.tech # Ref: https://openapi-generator.tech
# #
use Test::More tests => 2; use Test::More;
use Test::Exception; use Test::Exception;
use lib 'lib'; use lib 'lib';
@ -32,3 +32,5 @@ use_ok('WWW::OpenAPIClient::Object::TestInlineFreeformAdditionalPropertiesReques
# #
#isa_ok($instance, 'WWW::OpenAPIClient::Object::TestInlineFreeformAdditionalPropertiesRequest'); #isa_ok($instance, 'WWW::OpenAPIClient::Object::TestInlineFreeformAdditionalPropertiesRequest');
done_testing();

View File

@ -17,7 +17,7 @@ Generated by: https://openapi-generator.tech
# Please update the test cases below to test the API endpoints. # Please update the test cases below to test the API endpoints.
# Ref: https://openapi-generator.tech # Ref: https://openapi-generator.tech
# #
use Test::More tests => 1; #TODO update number of test cases use Test::More;
use Test::Exception; use Test::Exception;
use lib 'lib'; use lib 'lib';
@ -86,3 +86,5 @@ isa_ok($api, 'WWW::OpenAPIClient::UserApi');
#my $update_user_user = undef; # replace NULL with a proper value #my $update_user_user = undef; # replace NULL with a proper value
#my $update_user_result = $api->update_user(username => $update_user_username, user => $update_user_user); #my $update_user_result = $api->update_user(username => $update_user_username, user => $update_user_user);
done_testing();

View File

@ -17,7 +17,7 @@ Generated by: https://openapi-generator.tech
# Please update the test cases below to test the model. # Please update the test cases below to test the model.
# Ref: https://openapi-generator.tech # Ref: https://openapi-generator.tech
# #
use Test::More tests => 2; use Test::More;
use Test::Exception; use Test::Exception;
use lib 'lib'; use lib 'lib';
@ -32,3 +32,5 @@ use_ok('WWW::OpenAPIClient::Object::User');
# #
#isa_ok($instance, 'WWW::OpenAPIClient::Object::User'); #isa_ok($instance, 'WWW::OpenAPIClient::Object::User');
done_testing();