diff options
Diffstat (limited to 'src/include/taler_testing_lib.h')
-rw-r--r-- | src/include/taler_testing_lib.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/include/taler_testing_lib.h b/src/include/taler_testing_lib.h index 6f422969a..c3a3cea11 100644 --- a/src/include/taler_testing_lib.h +++ b/src/include/taler_testing_lib.h @@ -1330,6 +1330,20 @@ TALER_TESTING_cmd_deposit (const char *label, struct TALER_TESTING_Command TALER_TESTING_cmd_deposit_with_retry (struct TALER_TESTING_Command cmd); +/** + * Create a "deposit" command that repeats an existing + * deposit command. + * + * @param label command label. + * @param expected_response_code expected HTTP response code. + * + * @return the command. + */ +struct TALER_TESTING_Command +TALER_TESTING_cmd_deposit_replay (const char *label, + const char *deposit_reference, + unsigned int expected_response_code); + /** * Create a "refresh melt" command. |