Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions source/gridfs/tests/delete.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions source/gridfs/tests/delete.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ tests:
object: *bucket0
arguments:
id: { $oid: "000000000000000000000000" }
expectError: { isError: true } # FileNotFound
expectError: { isClientError: true } # FileNotFound
outcome:
- collectionName: *bucket0_files_collectionName
databaseName: *database0Name
Expand Down Expand Up @@ -170,7 +170,7 @@ tests:
object: *bucket0
arguments:
id: { $oid: "000000000000000000000004" }
expectError: { isError: true } # FileNotFound
expectError: { isClientError: true } # FileNotFound
outcome:
- collectionName: *bucket0_files_collectionName
databaseName: *database0Name
Expand Down
10 changes: 5 additions & 5 deletions source/gridfs/tests/download.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions source/gridfs/tests/download.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ tests:
object: *bucket0
arguments:
id: { $oid: "000000000000000000000000" }
expectError: { isError: true } # FileNotFound
expectError: { isClientError: true } # FileNotFound
- description: "download when an intermediate chunk is missing"
operations:
- name: deleteOne
Expand All @@ -154,7 +154,7 @@ tests:
object: *bucket0
arguments:
id: { $oid: "000000000000000000000005" }
expectError: { isError: true } # ChunkIsMissing
expectError: { isClientError: true } # ChunkIsMissing
- description: "download when final chunk is missing"
operations:
- name: deleteOne
Expand All @@ -169,7 +169,7 @@ tests:
object: *bucket0
arguments:
id: { $oid: "000000000000000000000005" }
expectError: { isError: true } # ChunkIsMissing
expectError: { isClientError: true } # ChunkIsMissing
- description: "download when an intermediate chunk is the wrong size"
operations:
- name: bulkWrite
Expand All @@ -195,7 +195,7 @@ tests:
object: *bucket0
arguments:
id: { $oid: "000000000000000000000005" }
expectError: { isError: true } # ChunkIsWrongSize
expectError: { isClientError: true } # ChunkIsWrongSize
- description: "download when final chunk is the wrong size"
operations:
- name: updateOne
Expand All @@ -213,7 +213,7 @@ tests:
object: *bucket0
arguments:
id: { $oid: "000000000000000000000005" }
expectError: { isError: true } # ChunkIsWrongSize
expectError: { isClientError: true } # ChunkIsWrongSize
- description: "download legacy file with no name"
operations:
- name: download
Expand Down
4 changes: 2 additions & 2 deletions source/gridfs/tests/downloadByName.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions source/gridfs/tests/downloadByName.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,12 +133,12 @@ tests:
object: *bucket0
arguments:
filename: "xyz"
expectError: { isError: true } # FileNotFound
expectError: { isClientError: true } # FileNotFound
- description: "downloadByName when revision does not exist"
operations:
- name: downloadByName
object: *bucket0
arguments:
filename: "abc"
revision: 999
expectError: { isError: true } # RevisionNotFound
expectError: { isClientError: true } # RevisionNotFound
179 changes: 179 additions & 0 deletions source/gridfs/tests/rename.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading