Unsupported Error when request server stream (#772)

Fixes #773
This commit is contained in:
cyan317
2023-07-14 14:44:40 +01:00
committed by GitHub
parent 4fd6d51d21
commit b83d7478ef
3 changed files with 22 additions and 1 deletions

View File

@@ -465,6 +465,21 @@ generateTestValuesForParametersTest()
})",
"invalidParams",
"bothNotBool"},
UnsubscribeParamTestCaseBundle{
"StreamPeerStatusNotSupport",
R"({"streams": ["peer_status"]})",
"reportingUnsupported",
"Requested operation not supported by reporting mode server"},
UnsubscribeParamTestCaseBundle{
"StreamConsensusNotSupport",
R"({"streams": ["consensus"]})",
"reportingUnsupported",
"Requested operation not supported by reporting mode server"},
UnsubscribeParamTestCaseBundle{
"StreamServerNotSupport",
R"({"streams": ["server"]})",
"reportingUnsupported",
"Requested operation not supported by reporting mode server"},
};
}