about summary refs log tree commit diff stats
path: root/tests/unittests
diff options
context:
space:
mode:
authorPaul Fariello <paul@fariello.eu>2018-09-05 15:13:20 +0200
committerPaul Fariello <paul@fariello.eu>2018-09-05 15:13:20 +0200
commite9e5f382dab55a9a4de36dafa970700b44c68cb4 (patch)
tree5dc70712e26c16c1f64ed71cd5b2da40c8d95f87 /tests/unittests
parent3c709726107e4b20452aa794501a7c0c143c6f85 (diff)
downloadprofani-tty-e9e5f382dab55a9a4de36dafa970700b44c68cb4.tar.gz
Add connection_get_domain stub for tests
Diffstat (limited to 'tests/unittests')
-rw-r--r--tests/unittests/xmpp/stub_xmpp.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/unittests/xmpp/stub_xmpp.c b/tests/unittests/xmpp/stub_xmpp.c
index 67263339..85e026d1 100644
--- a/tests/unittests/xmpp/stub_xmpp.c
+++ b/tests/unittests/xmpp/stub_xmpp.c
@@ -39,6 +39,11 @@ const char * session_get_domain(void)
     return NULL;
 }
 
+const char * connection_get_domain(void)
+{
+    return NULL;
+}
+
 gboolean connection_is_secured(void)
 {
     return 1;