MSP-1756 update audit
This commit is contained in:
1 parent
84888e8202
commit
da3ae21766
4 files changed
+58
-16
No files matched your search
@@ -324,6 +324,7 @@ func (s *UserTestSuite) TestBlockUser() {
|
||||
})
|
||||
|
||||
err := s.grpcCli.Invoke("admin/user/block_user").
|
||||
AppendMetadata(domain.AdminAuthIdHeader, strconv.Itoa(int(id))).
|
||||
JsonRequestBody(domain.IdRequest{UserId: int(id)}).
|
||||
Do(context.Background())
|
||||
s.Require().NoError(err)
|
||||
|
||||
Reference in new issue
Block a user