Skip to content

Commit 909443a

Browse files
committed
test: fix main run
1 parent 019b957 commit 909443a

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

test/integration/auth/mongodb_oidc.prose.test.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,13 @@ const getClient = (extraOptions: MongoClientOptions = {}, callbackSpy?: OIDCCall
7575
};
7676

7777
describe('OIDC Auth Spec Tests', function () {
78+
beforeEach(function () {
79+
if (!process.env.ENVIRONMENT) {
80+
this.skipReason = 'OIDC prose tests require a Test OIDC environment.';
81+
this.skip();
82+
}
83+
});
84+
7885
describe('Machine Authentication Flow Prose Tests', function () {
7986
const uriSingle = process.env.MONGODB_URI_SINGLE;
8087

0 commit comments

Comments
 (0)