Skip to content

Commit

Permalink
Remove unused client vars
Browse files Browse the repository at this point in the history
  • Loading branch information
mulletboy2 committed Aug 25, 2015
1 parent fded63f commit 18fcd32
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions t/unit/300-actionrole-grant-auth.t
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ my $code =
"installs oauth2 accessors if request is valid" );
ok( Moose::Util::does_role( $c->req, 'CatalystX::OAuth2::Request' ) );
my $res = $c->res;
my $client = $c->controller->store->find_client(1);
isa_ok( my $oauth2 = $c->req->oauth2,
'CatalystX::OAuth2::Request::GrantAuth' );
my $redirect = $c->req->oauth2->next_action_uri( $c->controller, $c );
Expand Down Expand Up @@ -73,7 +72,6 @@ my $code =
"installs oauth2 accessors if request is valid" );
ok( Moose::Util::does_role( $c->req, 'CatalystX::OAuth2::Request' ) );
my $res = $c->res;
my $client = $c->controller->store->find_client(1);
isa_ok( my $oauth2 = $c->req->oauth2,
'CatalystX::OAuth2::Request::GrantAuth' );
my $redirect = $c->req->oauth2->next_action_uri( $c->controller, $c );
Expand Down Expand Up @@ -111,7 +109,6 @@ my $code =
"installs oauth2 accessors if request is valid" );
ok( Moose::Util::does_role( $c->req, 'CatalystX::OAuth2::Request' ) );
my $res = $c->res;
my $client = $c->controller->store->find_client(1);
isa_ok( my $oauth2 = $c->req->oauth2,
'CatalystX::OAuth2::Request::GrantAuth' );
ok( !$res->location );
Expand Down Expand Up @@ -141,7 +138,6 @@ my $code =
"installs oauth2 accessors if request is valid" );
ok( Moose::Util::does_role( $c->req, 'CatalystX::OAuth2::Request' ) );
my $res = $c->res;
my $client = $c->controller->store->find_client(1);
isa_ok( my $oauth2 = $c->req->oauth2,
'CatalystX::OAuth2::Request::GrantAuth' );
my $redirect = $c->req->oauth2->next_action_uri( $c->controller, $c );
Expand Down Expand Up @@ -219,7 +215,6 @@ my $code =
"installs oauth2 accessors if request is valid" );
ok( Moose::Util::does_role( $c->req, 'CatalystX::OAuth2::Request' ) );
my $res = $c->res;
my $client = $c->controller->store->find_client(1);
isa_ok( my $oauth2 = $c->req->oauth2,
'CatalystX::OAuth2::Request::GrantAuth' );
my $redirect = $c->req->oauth2->next_action_uri( $c->controller, $c );
Expand Down

0 comments on commit 18fcd32

Please sign in to comment.