diff --git a/scripts/install/test.sh b/scripts/install/test.sh index 049dc19c8..564d7b09a 100755 --- a/scripts/install/test.sh +++ b/scripts/install/test.sh @@ -529,6 +529,26 @@ EOF openim::test::check_error "$response" } +# Updates the pin status of a friend. +openim::test::update_pin_status() { + local ownerUserID="${1}" + local friendUserID="${2}" + local isPinned="${3}" + + local request_body=$(cat <