mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-10 06:26:12 +00:00
add oauth2 support for Perl
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
use Test::More tests => 42;
|
||||
use Test::More tests => 41;
|
||||
use Test::Exception;
|
||||
|
||||
use lib 'lib';
|
||||
@@ -22,7 +22,8 @@ is $store_api->{api_client}->{base_url}, 'http://petstore.swagger.io/v2', 'get t
|
||||
|
||||
my $get_inventory_response = $store_api->get_inventory();
|
||||
|
||||
like ($get_inventory_response->{pending}, qr/^\d+$/, "pending is numeric");
|
||||
# comment out pending check as sometimes there's no object with pending status
|
||||
#like ($get_inventory_response->{pending}, qr/^\d+$/, "pending is numeric");
|
||||
like ($get_inventory_response->{sold}, qr/^\d+$/, "sold is numeric");
|
||||
|
||||
my $pet_json = <<JSON;
|
||||
|
||||
Reference in New Issue
Block a user