2025-03-17 20:58:26 +01:00

68 lines
1.3 KiB
JSON

{
"runOn": [
{
"minServerVersion": "4.1.10"
}
],
"database_name": "default",
"collection_name": "unencrypted",
"tests": [
{
"description": "Insert on an unencrypted collection",
"clientOptions": {
"autoEncryptOpts": {
"kmsProviders": {
"aws": {}
}
}
},
"operations": [
{
"name": "insertOne",
"arguments": {
"document": {
"_id": 1
}
}
}
],
"expectations": [
{
"command_started_event": {
"command": {
"listCollections": 1,
"filter": {
"name": "unencrypted"
}
},
"command_name": "listCollections"
}
},
{
"command_started_event": {
"command": {
"insert": "unencrypted",
"documents": [
{
"_id": 1
}
],
"ordered": true
},
"command_name": "insert"
}
}
],
"outcome": {
"collection": {
"data": [
{
"_id": 1
}
]
}
}
}
]
}