Add CommandSubmissionCompletion suite to test tool (#3885)

This commit is contained in:
Stefano Baghino 2019-12-18 10:45:21 +01:00 committed by mergify[bot]
parent 2fd8372f44
commit af90d634fd
2 changed files with 3 additions and 2 deletions

View File

@ -23,6 +23,7 @@ object Tests {
val optional: Tests = Map(
"ActiveContractsServiceIT" -> (new ActiveContractsService(_)),
"CommandServiceIT" -> (new CommandService(_)),
"CommandSubmissionCompletionIT" -> (new CommandSubmissionCompletion(_)),
"ContractKeysIT" -> (new ContractKeys(_)),
"ContractKeysSubmitterIsMaintainerIT" -> (new ContractKeysSubmitterIsMaintainer(_)),
"DivulgenceIT" -> (new Divulgence(_)),

View File

@ -34,7 +34,7 @@ final class CommandSubmissionCompletion(session: LedgerSession) extends LedgerTe
}
test(
"CSNoCompletionsWithoutRightAppId",
"CSCNoCompletionsWithoutRightAppId",
"Read no completions without the correct application identifier",
allocate(SingleParty)) {
case Participants(Participant(ledger, party)) =>
@ -99,7 +99,7 @@ final class CommandSubmissionCompletion(session: LedgerSession) extends LedgerTe
}
test(
"CSDisallowEmptyTransactionsSubmission",
"CSCDisallowEmptyTransactionsSubmission",
"The submission of an empty command should be rejected with INVALID_ARGUMENT",
allocate(SingleParty)) {
case Participants(Participant(ledger, party)) =>