Skip to content

Commit 28dd205

Browse files
committed
fixup: oidc test
1 parent 370288f commit 28dd205

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/e2e-tests/test/e2e-oidc.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ describe('OIDC auth e2e', function () {
374374

375375
// Internal hack to get a state-share server as e.g. Compass or the VSCode extension would
376376
let handle = await shell.executeLine(
377-
'db.getMongo()._serviceProvider._sp.currentClientOptions.parentState.getStateShareServer()'
377+
'db.getMongo()._serviceProvider[Symbol.for("@@mongosh.originalServiceProvider")].currentClientOptions.parentState.getStateShareServer()'
378378
);
379379
// `handle` can include the next prompt when returned by `shell.executeLine()`,
380380
// so look for the longest prefix of it that is valid JSON.

0 commit comments

Comments
 (0)