diff --git a/tests/Feature/ClientTest.php b/tests/Feature/ClientTest.php index f96292ac..b1fba301 100644 --- a/tests/Feature/ClientTest.php +++ b/tests/Feature/ClientTest.php @@ -38,14 +38,6 @@ public function testScopesWhenClientHasScope(): void $this->assertTrue($client->hasScope('foo')); } - public function testScopesWhenClientHasAny(): void - { - $client = new Client(['scopes' => ['*']]); - $client->exists = true; - - $this->assertTrue($client->hasScope('foo')); - } - public function testGrantTypesWhenClientDoesNotHaveGrantType(): void { $client = new Client(['grant_types' => ['bar']]); diff --git a/tests/Unit/BridgeScopeRepositoryTest.php b/tests/Unit/BridgeScopeRepositoryTest.php index fcb82c7a..5a727f7c 100644 --- a/tests/Unit/BridgeScopeRepositoryTest.php +++ b/tests/Unit/BridgeScopeRepositoryTest.php @@ -25,7 +25,7 @@ public function test_invalid_scopes_are_removed() ]); $client = Mockery::mock(ClientModel::class)->makePartial(); - $client->scopes = ['*']; + $client->scopes = ['scope-1']; $clients = Mockery::mock(ClientRepository::class); $clients->shouldReceive('findActive')->withAnyArgs()->andReturn($client);