From 880bb58f4bdc939849fa17aacb978bd63c633ae7 Mon Sep 17 00:00:00 2001 From: Hafez Divandari Date: Sun, 25 Aug 2024 03:52:25 +0330 Subject: [PATCH] fix tests --- tests/Unit/AuthorizedAccessTokenControllerTest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/Unit/AuthorizedAccessTokenControllerTest.php b/tests/Unit/AuthorizedAccessTokenControllerTest.php index 2846918b..1fc48c71 100644 --- a/tests/Unit/AuthorizedAccessTokenControllerTest.php +++ b/tests/Unit/AuthorizedAccessTokenControllerTest.php @@ -55,6 +55,7 @@ public function test_tokens_can_be_retrieved_for_users() $client1->grant_types = ['personal_access']; $client2 = new Client; $client2->grant_types = []; + $client2->user_id = 2; $token1->client = $client1; $token2->client = $client2; $userTokens->shouldReceive('load')->with('client')->andReturn(collect([