feat: add scripts verify shell check

pull/2084/head
Xinwei Xiong (cubxxw) 2 years ago
parent ce438c59d4
commit fc32d0db48

@ -637,6 +637,7 @@ func (s *groupServer) GetGroupMembersInfo(ctx context.Context, req *pbgroup.GetG
return resp, nil return resp, nil
} }
// GetGroupApplicationList handles functions that get a list of group requests
func (s *groupServer) GetGroupApplicationList(ctx context.Context, req *pbgroup.GetGroupApplicationListReq) (*pbgroup.GetGroupApplicationListResp, error) { func (s *groupServer) GetGroupApplicationList(ctx context.Context, req *pbgroup.GetGroupApplicationListReq) (*pbgroup.GetGroupApplicationListResp, error) {
groupIDs, err := s.db.FindUserManagedGroupID(ctx, req.FromUserID) groupIDs, err := s.db.FindUserManagedGroupID(ctx, req.FromUserID)
if err != nil { if err != nil {

@ -1133,11 +1133,6 @@ function openim::test::group() {
# 14. Set group info. # 14. Set group info.
openim::test::set_group_info "$GROUP_ID2" openim::test::set_group_info "$GROUP_ID2"
for i in {1..50}; do
local GROUP_IDS=$RANDOM
openim::test::set_group_info "$GROUP_IDS"
done
# 15. Quit group. # 15. Quit group.
# TODO # TODO
# openim::test::quit_group "$GROUP_ID2" "$OTHER_USER1_ID" # openim::test::quit_group "$GROUP_ID2" "$OTHER_USER1_ID"

Loading…
Cancel
Save