robotLJW commented on a change in pull request #809:
URL:
https://github.com/apache/servicecomb-service-center/pull/809#discussion_r556375261
##########
File path: server/service/rbac/rbac_test.go
##########
@@ -178,6 +177,6 @@ func TestInitRBAC(t *testing.T) {
t.Run("delete the new role", func(t *testing.T) {
r, err := dao.DeleteRole(context.Background(), "tester")
assert.NoError(t, err)
- assert.Equal(t, false, r)
+ assert.Equal(t, true, r)
Review comment:
之前role删除判断错误,之前使用count!=0,当删除成功count也是0,存在问题
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]