Fix bug in skipped AWS auth test
@@ -31,7 +31,7 @@ class AwsAuthenticationSpecification extends Specification {
when:
openConnection(connection, async)
- executeCommand(getConnectionString().getDatabase(), new BsonDocument('count', new BsonString('test')), connection)
+ executeCommand(getConnectionString().getDatabase(), new BsonDocument('count', new BsonString('test')), null, connection)
then:
thrown(MongoCommandException)
@@ -49,7 +49,7 @@ class AwsAuthenticationSpecification extends Specification {
when:
openConnection(connection, async)
- executeCommand(getConnectionString().getDatabase(), new BsonDocument('count', new BsonString('test')), connection)
+ executeCommand(getConnectionString().getDatabase(), new BsonDocument('count', new BsonString('test')), null, connection)
then:
true
