Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hafezdivandari committed Oct 28, 2024
1 parent 0205c0f commit 55d4401
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/Feature/RevokedTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ private function persistNewDeviceCode(BridgeDeviceCodeRepository $repository, st
$deviceCode->shouldReceive('getExpiryDateTime')->andReturn(CarbonImmutable::now());
$deviceCode->shouldReceive('getLastPolledAt')->andReturn(CarbonImmutable::now());
$deviceCode->shouldReceive('getScopes')->andReturn([]);
$deviceCode->shouldReceive('getInterval')->andReturn(5);
$deviceCode->shouldReceive('getUserCode')->andReturn('userCode');
$deviceCode->shouldReceive('getUserApproved')->andReturn(false);

Expand Down

0 comments on commit 55d4401

Please sign in to comment.