remove cpp sdk not supported products

This commit is contained in:
zhangzifa
2019-03-20 10:39:11 +08:00
committed by TonyZZF
parent 2561eb446f
commit 815b6202ed
3 changed files with 12 additions and 42 deletions

View File

@@ -46,9 +46,8 @@ namespace {
delReq.setForce(true);
auto outcome = client.deleteInstance(delReq);
EXPECT_TRUE(outcome.error().errorCode() == "InvalidParameter");
EXPECT_TRUE(outcome.error().errorMessage() == "The specified parameter \"Force\" is not valid.");
EXPECT_TRUE(outcome.error().errorCode() == "InvalidInstanceId.NotFound");
EXPECT_TRUE(outcome.error().errorMessage() == "The specified InstanceId does not exist.");
ShutdownSdk();
}