Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions Makefile.PL
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ use inc::Module::Install;
name 'Net-Google-DataAPI';
all_from 'lib/Net/Google/DataAPI.pm';

configure_requires 'Module::Install::AuthorTests';
configure_requires 'Module::Install::Repository';
configure_requires 'Module::Install::Any::Moose';

requires 'Carp';
requires 'XML::LibXML';
requires 'XML::Atom';
Expand Down
3 changes: 3 additions & 0 deletions t/04_auth/04_oauth2.t
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ BEGIN {
response_type => 'code',
scope => 'https://www.googleapis.com/auth/userinfo.profile https://www.googleapis.com/auth/userinfo.email',
state => '',
hd => '',
} or note explain {$url->query_form};

ok my $access_token = $oauth2->get_access_token('mycode');
Expand Down Expand Up @@ -104,6 +105,7 @@ BEGIN {
response_type => 'code',
scope => 'http://spreadsheets.google.com/feeds/',
state => 'hogehoge',
hd => '',
} or note explain {$url->query_form};

# ok $oauth2->get_access_token('mycode');
Expand All @@ -129,6 +131,7 @@ BEGIN {
access_type => 'offline',
approval_prompt => 'force',
state => 'foobar',
hd => '',
} or note explain {$url->query_form};

# ok $oauth2->get_access_token('mycode');
Expand Down