From e3d2c2cbb38302a47b5fe63c8223b7866b83c6d0 Mon Sep 17 00:00:00 2001 From: AndrewZuo01 Date: Mon, 11 Dec 2023 18:18:30 +0800 Subject: [PATCH] add pin friend test --- scripts/install/test.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install/test.sh b/scripts/install/test.sh index c1f091e27..59c5b983e 100755 --- a/scripts/install/test.sh +++ b/scripts/install/test.sh @@ -70,7 +70,6 @@ function openim::test::auth() { #################################### Auth Module #################################### -# Define a function to get a token (Admin Token) # Define a function to get a token for a specific user openim::test::get_token() { local user_id="${1:-openIM123456}" # Default user ID if not provided @@ -586,7 +585,8 @@ function openim::test::friend() { # Switch to FRIEND_USER_ID's token local friend_token="-Htoken: $(openim::test::get_token "${FRIEND_USER_ID}")" - + echo original_token + echo friend_token # 3. Respond to a friend request. # TODO: openim::test::add_friend_response "${FRIEND_USER_ID}" "${TEST_USER_ID}"