From 18fcd32064358bbb18c027acfaad526051ab9bc2 Mon Sep 17 00:00:00 2001 From: Mark Stringer Date: Tue, 25 Aug 2015 13:20:10 +0100 Subject: [PATCH] Remove unused client vars --- t/unit/300-actionrole-grant-auth.t | 5 ----- 1 file changed, 5 deletions(-) diff --git a/t/unit/300-actionrole-grant-auth.t b/t/unit/300-actionrole-grant-auth.t index fa25d44..8c0bb43 100644 --- a/t/unit/300-actionrole-grant-auth.t +++ b/t/unit/300-actionrole-grant-auth.t @@ -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 ); @@ -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 ); @@ -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 ); @@ -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 ); @@ -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 );