aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/session/test-session.c
diff options
context:
space:
mode:
authorJose Bollo <jose.bollo@iot.bzh>2019-11-15 15:33:26 +0100
committerJose Bollo <jose.bollo@iot.bzh>2019-11-25 11:48:31 +0100
commit0d3dc9722c610857c2f83c4f3bf06299f2426a95 (patch)
tree5d2a8b950e32d5ca61b73ffe17266f0d9c5e5aac /src/tests/session/test-session.c
parente6908a2ee7b645517c062f2fd0419fcb3f4f976e (diff)
Remove refreshing token
The token is no more generated by the binder but by some external component. Bug-AGL: SPEC-2968 Change-Id: I2c6221034272ab097e21e7727e4840b6b47bd0dc Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/tests/session/test-session.c')
-rw-r--r--src/tests/session/test-session.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/tests/session/test-session.c b/src/tests/session/test-session.c
index fdbb0435..444475ef 100644
--- a/src/tests/session/test-session.c
+++ b/src/tests/session/test-session.c
@@ -61,12 +61,6 @@ START_TEST (check_creation)
ck_assert(afb_session_check_token(s, GOOD_UUID));
ck_assert(afb_session_check_token(s, afb_session_token(s)));
- /* token can be renewed */
- afb_session_new_token(s);
- ck_assert(strcmp(afb_session_token(s), GOOD_UUID));
- ck_assert(!afb_session_check_token(s, GOOD_UUID));
- ck_assert(afb_session_check_token(s, afb_session_token(s)));
-
/* query the session */
uuid = strdup(afb_session_uuid(s));
x = afb_session_search(uuid);