Skip to content

Commit 18fcd32

Browse files
committed
Remove unused client vars
1 parent fded63f commit 18fcd32

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

t/unit/300-actionrole-grant-auth.t

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ my $code =
3333
"installs oauth2 accessors if request is valid" );
3434
ok( Moose::Util::does_role( $c->req, 'CatalystX::OAuth2::Request' ) );
3535
my $res = $c->res;
36-
my $client = $c->controller->store->find_client(1);
3736
isa_ok( my $oauth2 = $c->req->oauth2,
3837
'CatalystX::OAuth2::Request::GrantAuth' );
3938
my $redirect = $c->req->oauth2->next_action_uri( $c->controller, $c );
@@ -73,7 +72,6 @@ my $code =
7372
"installs oauth2 accessors if request is valid" );
7473
ok( Moose::Util::does_role( $c->req, 'CatalystX::OAuth2::Request' ) );
7574
my $res = $c->res;
76-
my $client = $c->controller->store->find_client(1);
7775
isa_ok( my $oauth2 = $c->req->oauth2,
7876
'CatalystX::OAuth2::Request::GrantAuth' );
7977
my $redirect = $c->req->oauth2->next_action_uri( $c->controller, $c );
@@ -111,7 +109,6 @@ my $code =
111109
"installs oauth2 accessors if request is valid" );
112110
ok( Moose::Util::does_role( $c->req, 'CatalystX::OAuth2::Request' ) );
113111
my $res = $c->res;
114-
my $client = $c->controller->store->find_client(1);
115112
isa_ok( my $oauth2 = $c->req->oauth2,
116113
'CatalystX::OAuth2::Request::GrantAuth' );
117114
ok( !$res->location );
@@ -141,7 +138,6 @@ my $code =
141138
"installs oauth2 accessors if request is valid" );
142139
ok( Moose::Util::does_role( $c->req, 'CatalystX::OAuth2::Request' ) );
143140
my $res = $c->res;
144-
my $client = $c->controller->store->find_client(1);
145141
isa_ok( my $oauth2 = $c->req->oauth2,
146142
'CatalystX::OAuth2::Request::GrantAuth' );
147143
my $redirect = $c->req->oauth2->next_action_uri( $c->controller, $c );
@@ -219,7 +215,6 @@ my $code =
219215
"installs oauth2 accessors if request is valid" );
220216
ok( Moose::Util::does_role( $c->req, 'CatalystX::OAuth2::Request' ) );
221217
my $res = $c->res;
222-
my $client = $c->controller->store->find_client(1);
223218
isa_ok( my $oauth2 = $c->req->oauth2,
224219
'CatalystX::OAuth2::Request::GrantAuth' );
225220
my $redirect = $c->req->oauth2->next_action_uri( $c->controller, $c );

0 commit comments

Comments
 (0)