Sha256: c0204638ac85f5934b3b7cde01dac2c2ef2918b384d9084f1d0a8fd1aa96c47e
Contents?: true
Size: 1.23 KB
Versions: 27
Compression:
Stored size: 1.23 KB
Contents
description: "Test commands: strict mode" schemaVersion: "1.4" runOnRequirements: - minServerVersion: "4.9" serverParameters: enableTestCommands: true # serverless gives a different error for unrecognized testVersion2 command serverless: "forbid" createEntities: - client: id: &client client observeEvents: - commandStartedEvent serverApi: version: "1" strict: true - database: id: &database database client: *client databaseName: &databaseName versioned-api-tests tests: - description: "Running a command that is not part of the versioned API results in an error" operations: - name: runCommand object: *database arguments: commandName: testVersion2 command: testVersion2: 1 expectError: isError: true errorContains: "command testVersion2 is not in API Version 1" errorCodeName: "APIStrictError" expectEvents: - client: *client events: - commandStartedEvent: command: testVersion2: 1 apiVersion: "1" apiStrict: true apiDeprecationErrors: { $$unsetOrMatches: false }
Version data entries
27 entries across 27 versions & 2 rubygems