Debian Codegraph @

t/LWP/Authen/OAuth2/ServiceProvider/Google.t

raw
1 #! /usr/bin/env perl
2 use 5.006;
3 use strict;
4 use warnings FATAL => 'all';
5 use Test::More;
6
7 use FindBin qw($Bin);
8 use lib "$Bin/../../../../../lib";
9
10 BEGIN {
11 use_ok( 'LWP::Authen::OAuth2::ServiceProvider::Google' ) || print "Bail out!\n";
12 use LWP::Authen::OAuth2;
13
14 my $oauth2 = LWP::Authen::OAuth2->new(
15 client_id => 'Test',
16 client_secret => 'Test',
17 service_provider => "Google",
18 redirect_uri => "http://127.0.0.1",
19 );
20 isa_ok($oauth2, 'LWP::Authen::OAuth2');
21 }
22
23 done_testing();