mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-12-03 19:02:31 +08:00
add pin friend test
This commit is contained in:
parent
d4d9f7a3db
commit
72bedcba54
@ -547,7 +547,7 @@ openim::test::update_pin_status() {
|
|||||||
local request_body=$(cat <<EOF
|
local request_body=$(cat <<EOF
|
||||||
{
|
{
|
||||||
"ownerUserID": "${ownerUserID}",
|
"ownerUserID": "${ownerUserID}",
|
||||||
"friendUserID": [${friendUserIDs}],
|
"friendUserIDs": [${friendUserIDs}],
|
||||||
"isPinned": ${isPinned}
|
"isPinned": ${isPinned}
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
@ -581,7 +581,7 @@ function openim::test::friend() {
|
|||||||
|
|
||||||
# 3. Respond to a friend request.
|
# 3. Respond to a friend request.
|
||||||
# TODO:
|
# TODO:
|
||||||
# openim::test::add_friend_response "${FRIEND_USER_ID}" "${TEST_USER_ID}"
|
openim::test::add_friend_response "${FRIEND_USER_ID}" "${TEST_USER_ID}"
|
||||||
|
|
||||||
# 4. Retrieve the friend list of the test user.
|
# 4. Retrieve the friend list of the test user.
|
||||||
openim::test::get_friend_list "${TEST_USER_ID}"
|
openim::test::get_friend_list "${TEST_USER_ID}"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user