Skip to content

Commit 5e418f9

Browse files
committed
make it green
1 parent 9279ad0 commit 5e418f9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/OAuthFilterTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public function test_valid_filter_with_no_scope()
1313
{
1414
ResourceServer::shouldReceive('isValid')->once()->andReturn(true);
1515

16-
$response = $this->getFilter()->filter('', '', null);
16+
$response = $this->getFilter()->filter('', '');
1717
$this->assertNull($response);
1818
}
1919

@@ -24,7 +24,7 @@ public function test_invalid_filter_with_no_scope()
2424

2525
ResourceServer::shouldReceive('isValid')->andThrow(new \League\OAuth2\Server\Exception\InvalidAccessTokenException('Access token is not valid'));
2626

27-
$response = $this->getFilter()->filter('', '', null);
27+
$response = $this->getFilter()->filter('', '');
2828
$this->assertTrue($response instanceof Illuminate\Http\JsonResponse);
2929
$this->assertTrue($response->isForbidden());
3030

0 commit comments

Comments
 (0)