Skip to content

Commit 0b462bb

Browse files
stuartp44Copilot
andauthored
Update lambdas/functions/control-plane/src/scale-runners/scale-down.test.ts
Co-authored-by: Copilot <[email protected]>
1 parent ab5b6b0 commit 0b462bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lambdas/functions/control-plane/src/scale-runners/scale-down.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -370,11 +370,11 @@ describe('Scale down runners', () => {
370370

371371
if (type === 'Repo') {
372372
mockOctokit.actions.getSelfHostedRunnerForRepo.mockResolvedValueOnce({
373-
data: { runnerId: 1234567890, name: orphanRunner.instanceId, busy: true, status: 'online' },
373+
data: { id: 1234567890, name: orphanRunner.instanceId, busy: true, status: 'online' },
374374
});
375375
} else {
376376
mockOctokit.actions.getSelfHostedRunnerForOrg.mockResolvedValueOnce({
377-
data: { runnerId: 1234567890, name: orphanRunner.instanceId, busy: true, status: 'online' },
377+
data: { id: 1234567890, name: orphanRunner.instanceId, busy: true, status: 'online' },
378378
});
379379
}
380380

0 commit comments

Comments
 (0)