mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-20 09:17:43 +03:00
Add CommandSubmissionCompletion suite to test tool (#3885)
This commit is contained in:
parent
2fd8372f44
commit
af90d634fd
@ -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(_)),
|
||||
|
@ -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)) =>
|
||||
|
Loading…
Reference in New Issue
Block a user