Fix regression tests structure : using method instead of protocol

This commit is contained in:
Felipe Zimmerle
2015-11-18 11:14:49 -03:00
parent c035e76ede
commit 3c45a57130
93 changed files with 191 additions and 191 deletions

View File

@@ -141,8 +141,8 @@ RegressionTest *RegressionTest::from_yajl_node(const yajl_val &node) {
if (strcmp(key2, "uri") == 0) {
u->uri = YAJL_GET_STRING(val2);
}
if (strcmp(key2, "protocol") == 0) {
u->protocol = YAJL_GET_STRING(val2);
if (strcmp(key2, "method") == 0) {
u->method = YAJL_GET_STRING(val2);
}
if (strcmp(key2, "http_version") == 0) {
u->httpVersion = YAJL_GET_NUMBER(val2);