summaryrefslogtreecommitdiffstats
path: root/src/tests
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2018-08-02 15:26:59 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2018-08-02 15:49:43 +0200
commitde0527f7cf5b4a4278698ab034a332cf75723300 (patch)
treec62706f06e295e6e6f7650b1fe6df9c78aaeac27 /src/tests
parent5ef271effacb83552f9ea56572c751c2f5a556b6 (diff)
afb-export: Manage path of libraries
This change allows a binding to know its installation path. This path is retrieved using the api function 'afb_api_settings'. The path is returned --if known-- as a string of key "binding-path". Change-Id: Ie1a349dc4936d4ccf173f1f77e118099f7f0599a Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/apiv3/test-apiv3.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tests/apiv3/test-apiv3.c b/src/tests/apiv3/test-apiv3.c
index 9a06bcbc..1472e702 100644
--- a/src/tests/apiv3/test-apiv3.c
+++ b/src/tests/apiv3/test-apiv3.c
@@ -151,16 +151,16 @@ START_TEST (test)
apiset = afb_apiset_create("test-apiv3", 1);
ck_assert_ptr_nonnull(apiset);
- out_v3 = afb_api_v3_create(
- apiset,
+ out_v3 = afb_api_v3_create(apiset,
apiset,
out_apiname,
NULL,
0,
out_preinit,
out_apiname,
- 0
- );
+ 0,
+ NULL,
+ NULL);
ck_assert_ptr_nonnull(out_v3);
ck_assert_ptr_nonnull(out_api);