aboutsummaryrefslogtreecommitdiff
path: root/src/testing/testing_api_traits.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-07-04 15:37:34 +0200
committerChristian Grothoff <christian@grothoff.org>2023-07-04 15:37:46 +0200
commitff8349e6e7b7a898f3a9b0f69c44fa4a2a6a3fb1 (patch)
tree403cdc1e3a772a3415e14bcc6e9c6a4a78a4beba /src/testing/testing_api_traits.c
parent47620fa81b74a090767443445048ec9e3c15456e (diff)
downloadexchange-ff8349e6e7b7a898f3a9b0f69c44fa4a2a6a3fb1.tar.xz
more exchange API refactoring
Diffstat (limited to 'src/testing/testing_api_traits.c')
-rw-r--r--src/testing/testing_api_traits.c27
1 files changed, 0 insertions, 27 deletions
diff --git a/src/testing/testing_api_traits.c b/src/testing/testing_api_traits.c
index d00a8d8ca..799ae6718 100644
--- a/src/testing/testing_api_traits.c
+++ b/src/testing/testing_api_traits.c
@@ -75,33 +75,6 @@ TALER_TESTING_get_trait (const struct TALER_TESTING_Trait *traits,
}
-struct TALER_EXCHANGE_Handle *
-TALER_TESTING_get_exchange (struct TALER_TESTING_Interpreter *is)
-{
- struct TALER_EXCHANGE_Handle *exchange;
- const struct TALER_TESTING_Command *exchange_cmd;
-
- exchange_cmd
- = TALER_TESTING_interpreter_get_command (is,
- "exchange");
- if (NULL == exchange_cmd)
- {
- GNUNET_break (0);
- TALER_TESTING_interpreter_fail (is);
- return NULL;
- }
- if (GNUNET_OK !=
- TALER_TESTING_get_trait_exchange (exchange_cmd,
- &exchange))
- {
- GNUNET_break (0);
- TALER_TESTING_interpreter_fail (is);
- return NULL;
- }
- return exchange;
-}
-
-
const char *
TALER_TESTING_get_exchange_url (struct TALER_TESTING_Interpreter *is)
{