-
Notifications
You must be signed in to change notification settings - Fork 8
fix(mongodb-constants): add text.matchCriteria to template COMPASS-8601 #563
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -493,6 +493,16 @@ describe('devtools connect', function () { | |
).to.equal(false); | ||
}); | ||
|
||
it('returns false if the OIDC_CALLBACK is set', function () { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. drive-by? :) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The CI complained, it didn't make sense to add a test related to the template changes, so I added an unrelated test to please the gods of test coverage :D |
||
expect( | ||
isHumanOidcFlow('mongodb://example/?authMechanism=MONGODB-OIDC', { | ||
authMechanismProperties: { | ||
OIDC_CALLBACK: () => Promise.resolve({ accessToken: 'abc123' }), | ||
}, | ||
}), | ||
).to.equal(false); | ||
}); | ||
|
||
it('returns false if the ENVIRONMENT url option is set', function () { | ||
expect( | ||
isHumanOidcFlow( | ||
|
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this test related to this ticket?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No. The CI complained, it didn't make sense to add a test related to the template changes, so I added an unrelated test to please the gods of test coverage :D