File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ public function test_valid_filter_with_no_scope()
13
13
{
14
14
ResourceServer::shouldReceive ('isValid ' )->once ()->andReturn (true );
15
15
16
- $ response = $ this ->getFilter ()->filter ('' , '' , null );
16
+ $ response = $ this ->getFilter ()->filter ('' , '' );
17
17
$ this ->assertNull ($ response );
18
18
}
19
19
@@ -24,7 +24,7 @@ public function test_invalid_filter_with_no_scope()
24
24
25
25
ResourceServer::shouldReceive ('isValid ' )->andThrow (new \League \OAuth2 \Server \Exception \InvalidAccessTokenException ('Access token is not valid ' ));
26
26
27
- $ response = $ this ->getFilter ()->filter ('' , '' , null );
27
+ $ response = $ this ->getFilter ()->filter ('' , '' );
28
28
$ this ->assertTrue ($ response instanceof Illuminate \Http \JsonResponse);
29
29
$ this ->assertTrue ($ response ->isForbidden ());
30
30
You can’t perform that action at this time.
0 commit comments