diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2018-10-01 12:25:46 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2018-10-03 11:25:18 +0100 |
commit | 809e040f49b5f5a55166a6f0cfa5f945cede3fca (patch) | |
tree | 477f8fb5839d2ac74429216af75edde44cbad732 /t | |
parent | 60c9a067d2e96282ffbce4019c9c80e8f5c9fd85 (diff) |
Upgrade Net::Facebook::Oauth2 to 0.11.
v2.8 of the FB API is due to turn off in April 2019, let's upgrade well
in advance.
Diffstat (limited to 't')
-rw-r--r-- | t/Mock/Facebook.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/Mock/Facebook.pm b/t/Mock/Facebook.pm index 339eae536..6c9f90f10 100644 --- a/t/Mock/Facebook.pm +++ b/t/Mock/Facebook.pm @@ -20,12 +20,12 @@ has returns_email => ( sub dispatch_request { my $self = shift; - sub (GET + /v2.8/dialog/oauth + ?*) { + sub (GET + /v3.1/dialog/oauth + ?*) { my ($self) = @_; return [ 200, [ 'Content-Type' => 'text/html' ], [ 'FB login page' ] ]; }, - sub (GET + /v2.8/oauth/access_token + ?*) { + sub (GET + /v3.1/oauth/access_token + ?*) { my ($self) = @_; return [ 200, [ 'Content-Type' => 'application/json' ], [ '{"access_token": "access_token"}' ] ]; }, |