diff options
Diffstat (limited to 'test/call.c')
-rw-r--r-- | test/call.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/test/call.c b/test/call.c index b597f3a..7bf3e26 100644 --- a/test/call.c +++ b/test/call.c @@ -48,6 +48,9 @@ struct fixture { #define fixture_init(f) \ memset(f, 0, sizeof(*f)); \ \ + err = ua_init("test", true, true, true, false); \ + TEST_ERR(err); \ + \ f->magic = MAGIC; \ aucodec_register(&dummy_pcma); \ \ @@ -75,7 +78,10 @@ struct fixture { \ aucodec_unregister(&dummy_pcma); \ \ - uag_event_unregister(event_handler) + uag_event_unregister(event_handler); \ + \ + ua_stop_all(true); \ + ua_close(); static struct aucodec dummy_pcma = { |