File tree Expand file tree Collapse file tree 2 files changed +46
-46
lines changed Expand file tree Collapse file tree 2 files changed +46
-46
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ func TestGetAuthorizedEndpoints(t *testing.T) {
3737 args : args {
3838 []string {"admin:ServerInfo" },
3939 },
40- want : 1 ,
40+ want : 2 ,
4141 },
4242 {
4343 name : "policies endpoint" ,
@@ -50,7 +50,7 @@ func TestGetAuthorizedEndpoints(t *testing.T) {
5050 "admin:ListUserPolicies" ,
5151 },
5252 },
53- want : 1 ,
53+ want : 2 ,
5454 },
5555 {
5656 name : "all admin endpoints" ,
@@ -59,7 +59,7 @@ func TestGetAuthorizedEndpoints(t *testing.T) {
5959 "admin:*" ,
6060 },
6161 },
62- want : 9 ,
62+ want : 10 ,
6363 },
6464 {
6565 name : "all s3 endpoints" ,
@@ -68,7 +68,7 @@ func TestGetAuthorizedEndpoints(t *testing.T) {
6868 "s3:*" ,
6969 },
7070 },
71- want : 2 ,
71+ want : 3 ,
7272 },
7373 {
7474 name : "all admin and s3 endpoints" ,
@@ -78,7 +78,7 @@ func TestGetAuthorizedEndpoints(t *testing.T) {
7878 "s3:*" ,
7979 },
8080 },
81- want : 11 ,
81+ want : 12 ,
8282 },
8383 {
8484 name : "no endpoints" ,
You can’t perform that action at this time.
0 commit comments