improve tests

This commit is contained in:
wb-hx510875
2020-01-19 16:05:29 +08:00
committed by Jackson Tian
parent 38dab66f9d
commit b4e95dcd5a
5 changed files with 31 additions and 7 deletions

View File

@@ -95,5 +95,4 @@ TEST(RoaServiceClient, basic) {
req.setParameter("Content-Type", "test-content-type");
http_req = client.buildHttpRequest("cn-shanghai", req, HttpRequest::Method::Get);
EXPECT_TRUE(http_req.url().toString() == "http://cn-shanghai/?Accept=tets-accept&Content-Type=test-content-type&a=b");
}