Remove getRedirectLocation and setRedirectLocation from Session::Http
This commit is contained in:
parent
8b6bbdb9f7
commit
995b04e7de
8 changed files with 33 additions and 51 deletions
|
|
@ -68,7 +68,7 @@ isa_ok( $nt, 'Net::Twitter' );
|
|||
is( $auth->www_login, "redirect", "www_login always returns redirect" );
|
||||
ok( $session->scratch->get('AuthTwitterToken'), 'auth token gets set to scratch' );
|
||||
ok( $session->scratch->get('AuthTwitterTokenSecret'), 'auth token secret gets set to scratch' );
|
||||
like( $session->http->getRedirectLocation, qr/twitter[.]com/, "redirect to twitter.com" );
|
||||
like( $session->response->location, qr/twitter[.]com/, "redirect to twitter.com" );
|
||||
|
||||
# www_callback
|
||||
# I have no idea how to test this...
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue