Skip to content

Commit c0d67fa

Browse files
committedNov 19, 2024
revert changes on interval
1 parent 7feb08f commit c0d67fa

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed
 

‎src/Bridge/DeviceCodeRepository.php

-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ public function persistDeviceCode(DeviceCodeEntityInterface $deviceCodeEntity):
3939
'client_id' => $deviceCodeEntity->getClient()->getIdentifier(),
4040
'user_code' => $deviceCodeEntity->getUserCode(),
4141
'scopes' => $deviceCodeEntity->getScopes(),
42-
'interval' => $deviceCodeEntity->getInterval(),
4342
'revoked' => false,
4443
'user_approved_at' => null,
4544
'last_polled_at' => null,

‎tests/Feature/RevokedTest.php

-1
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,6 @@ private function persistNewDeviceCode(BridgeDeviceCodeRepository $repository, st
185185
$deviceCode->shouldReceive('getClient->getIdentifier')->andReturn('clientId');
186186
$deviceCode->shouldReceive('getUserCode')->andReturn('userCode');
187187
$deviceCode->shouldReceive('getScopes')->andReturn([]);
188-
$deviceCode->shouldReceive('getInterval')->andReturn(5);
189188
$deviceCode->shouldReceive('getExpiryDateTime')->andReturn(CarbonImmutable::now());
190189
$deviceCode->shouldReceive('getLastPolledAt')->andReturn(null);
191190
$deviceCode->shouldReceive('getUserApproved')->andReturn(false);

0 commit comments

Comments
 (0)