Fix testcase to match latest spec without receiver_

This commit is contained in:
Christian Grothoff 2016-04-03 21:10:10 +02:00
parent 1dea7998db
commit 08e9c29570

View File

@ -29,7 +29,7 @@
static const char * const valid_wire_str = static const char * const valid_wire_str =
"{ \"type\":\"SEPA\", \ "{ \"type\":\"SEPA\", \
\"iban\":\"DE67830654080004822650\", \ \"iban\":\"DE67830654080004822650\", \
\"receiver_name\":\"GNUnet e.V.\", \ \"name\":\"GNUnet e.V.\", \
\"bic\":\"GENODEF1SLR\", \ \"bic\":\"GENODEF1SLR\", \
\"salt\":\"123456789\", \ \"salt\":\"123456789\", \
\"address\": \"foobar\"}"; \"address\": \"foobar\"}";
@ -38,7 +38,7 @@ static const char * const valid_wire_str =
static const char * const invalid_wire_str = static const char * const invalid_wire_str =
"{ \"type\":\"SEPA\", \ "{ \"type\":\"SEPA\", \
\"iban\":\"XX67830654080004822650\", \ \"iban\":\"XX67830654080004822650\", \
\"receiver_name\":\"GNUnet e.V.\", \ \"name\":\"GNUnet e.V.\", \
\"bic\":\"GENODEF1SLR\", \ \"bic\":\"GENODEF1SLR\", \
\"salt\":\"123456789\", \ \"salt\":\"123456789\", \
\"address\": \"foobar\"}"; \"address\": \"foobar\"}";
@ -47,7 +47,7 @@ static const char * const invalid_wire_str =
static const char * const invalid_wire_str2 = static const char * const invalid_wire_str2 =
"{ \"type\":\"SEPA\", \ "{ \"type\":\"SEPA\", \
\"iban\":\"DE67830654080004822651\", \ \"iban\":\"DE67830654080004822651\", \
\"receiver_name\":\"GNUnet e.V.\", \ \"name\":\"GNUnet e.V.\", \
\"bic\":\"GENODEF1SLR\", \ \"bic\":\"GENODEF1SLR\", \
\"salt\":\"123456789\", \ \"salt\":\"123456789\", \
\"address\": \"foobar\"}"; \"address\": \"foobar\"}";
@ -56,7 +56,7 @@ static const char * const invalid_wire_str2 =
static const char * const unsupported_wire_str = static const char * const unsupported_wire_str =
"{ \"type\":\"unsupported\", \ "{ \"type\":\"unsupported\", \
\"iban\":\"DE67830654080004822650\", \ \"iban\":\"DE67830654080004822650\", \
\"receiver_name\":\"GNUnet e.V.\", \ \"name\":\"GNUnet e.V.\", \
\"bic\":\"GENODEF1SLR\", \ \"bic\":\"GENODEF1SLR\", \
\"salt\":\"123456789\", \ \"salt\":\"123456789\", \
\"address\": \"foobar\"}"; \"address\": \"foobar\"}";