forked from mongodb/specifications
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DRIVERS-2938: Remove MONGODB-CR from spec tests (mongodb#1611)
- Loading branch information
1 parent
483105e
commit 82be6f2
Showing
6 changed files
with
10 additions
and
118 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -173,24 +173,8 @@ tests: | |
db: "my=db" | ||
options: ~ | ||
- | ||
description: "Escaped user info and database (MONGODB-CR)" | ||
uri: "mongodb://%24am:f%3Azzb%40z%2Fz%[email protected]/admin%3F?authMechanism=MONGODB-CR" | ||
valid: true | ||
warning: false | ||
hosts: | ||
- | ||
type: "ipv4" | ||
host: "127.0.0.1" | ||
port: ~ | ||
auth: | ||
username: "$am" | ||
password: "f:zzb@z/z=" | ||
db: "admin?" | ||
options: | ||
authmechanism: "MONGODB-CR" | ||
- | ||
description: "Subdelimiters in user/pass don't need escaping (MONGODB-CR)" | ||
uri: "mongodb://!$&'()*+,;=:!$&'()*+,;[email protected]/admin?authMechanism=MONGODB-CR" | ||
description: "Subdelimiters in user/pass don't need escaping (PLAIN)" | ||
uri: "mongodb://!$&'()*+,;=:!$&'()*+,;[email protected]/admin?authMechanism=PLAIN" | ||
valid: true | ||
warning: false | ||
hosts: | ||
|
@@ -203,7 +187,7 @@ tests: | |
password: "!$&'()*+,;=" | ||
db: "admin" | ||
options: | ||
authmechanism: "MONGODB-CR" | ||
authmechanism: "PLAIN" | ||
- | ||
description: "Escaped username (MONGODB-X509)" | ||
uri: "mongodb://CN%3DmyName%2COU%3DmyOrgUnit%2CO%3DmyOrg%2CL%3DmyLocality%2CST%3DmyState%2CC%3DmyCountry@localhost/?authMechanism=MONGODB-X509" | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
tests: | ||
- | ||
description: "Option names are normalized to lowercase" | ||
uri: "mongodb://alice:[email protected]/admin?AUTHMechanism=MONGODB-CR" | ||
uri: "mongodb://alice:[email protected]/admin?AUTHMechanism=PLAIN" | ||
valid: true | ||
warning: false | ||
hosts: | ||
|
@@ -14,7 +14,7 @@ tests: | |
password: "secret" | ||
db: "admin" | ||
options: | ||
authmechanism: "MONGODB-CR" | ||
authmechanism: "PLAIN" | ||
- | ||
description: "Missing delimiting slash between hosts and options" | ||
uri: "mongodb://example.com?tls=true" | ||
|