@@ -97,7 +97,7 @@ public void insertData(PluginTestVerifier verifier, MongoCollection<Document> co
97
97
verifier .verifyTrace (event (MONGO_EXECUTE_QUERY , insertOne , null , MONGODB_ADDRESS , null
98
98
, new ExpectedAnnotation (MongoConstants .MONGO_COLLECTION_INFO .getName (), collectionInfo )
99
99
, new ExpectedAnnotation (MongoConstants .MONGO_COLLECTION_OPTION .getName (), collectionOption )
100
- , new ExpectedAnnotation (MongoConstants .MONGO_JSON .getName (), parsedBson )));
100
+ , new ExpectedAnnotation (MongoConstants .MONGO_JSON_DATA .getName (), parsedBson )));
101
101
}
102
102
103
103
public void updateData (PluginTestVerifier verifier , MongoCollection <Document > collection , Class <?> mongoDatabaseImpl ) {
@@ -123,7 +123,7 @@ public void updateData(PluginTestVerifier verifier, MongoCollection<Document> co
123
123
verifier .verifyTrace (event (MONGO_EXECUTE_QUERY , updateOne , null , MONGODB_ADDRESS , null
124
124
, new ExpectedAnnotation (MongoConstants .MONGO_COLLECTION_INFO .getName (), "customers" )
125
125
, new ExpectedAnnotation (MongoConstants .MONGO_COLLECTION_OPTION .getName (), "MAJORITY" )
126
- , new ExpectedAnnotation (MongoConstants .MONGO_JSON .getName (), parsedBson )));
126
+ , new ExpectedAnnotation (MongoConstants .MONGO_JSON_DATA .getName (), parsedBson )));
127
127
}
128
128
129
129
@@ -174,7 +174,7 @@ public void deleteData(PluginTestVerifier verifier, MongoCollection<Document> co
174
174
verifier .verifyTrace (event (MONGO_EXECUTE_QUERY , deleteMany , null , MONGODB_ADDRESS , null
175
175
, new ExpectedAnnotation (MongoConstants .MONGO_COLLECTION_INFO .getName (), "customers" )
176
176
, new ExpectedAnnotation (MongoConstants .MONGO_COLLECTION_OPTION .getName (), "MAJORITY" )
177
- , new ExpectedAnnotation (MongoConstants .MONGO_JSON .getName (), parsedBson )));
177
+ , new ExpectedAnnotation (MongoConstants .MONGO_JSON_DATA .getName (), parsedBson )));
178
178
179
179
Assert .assertEquals (1 , deleteResult .getDeletedCount ());
180
180
}
0 commit comments