api: remove deprecated grant_scope_id field (#4886)
* api: remove deprecated grant_scope_id field The grant_scope_id field was deprecated in 0.15.0, so we can remove it for 0.17.0. * Fix tests * Fix more tests * Remove an option and some related code that stuck around * Fix bats tests --------- Co-authored-by: Jeff Mitchell <jeffrey.mitchell@gmail.com>
This commit is contained in:
1 parent
d547e0d459
commit
c6f3c375f3
21 files changed
+107
-297
No files matched your search
@@ -48,12 +48,11 @@ func TestRoles(t *testing.T) {
|
||||
Description: "scope-description",
|
||||
ParentScopeId: "scope-parent-scope-id",
|
||||
},
|
||||
Name: &wrapperspb.StringValue{Value: "name"},
|
||||
Description: &wrapperspb.StringValue{Value: "description"},
|
||||
CreatedTime: pbNow,
|
||||
UpdatedTime: pbNow,
|
||||
Version: 0,
|
||||
GrantScopeId: &wrapperspb.StringValue{Value: "grant-scope-id"},
|
||||
Name: &wrapperspb.StringValue{Value: "name"},
|
||||
Description: &wrapperspb.StringValue{Value: "description"},
|
||||
CreatedTime: pbNow,
|
||||
UpdatedTime: pbNow,
|
||||
Version: 0,
|
||||
GrantScopeIds: []string{
|
||||
globals.GrantScopeThis,
|
||||
"grant-scope-id",
|
||||
@@ -98,12 +97,11 @@ func TestRoles(t *testing.T) {
|
||||
Description: "scope-description",
|
||||
ParentScopeId: "scope-parent-scope-id",
|
||||
},
|
||||
Name: &wrapperspb.StringValue{Value: "name"},
|
||||
Description: &wrapperspb.StringValue{Value: "description"},
|
||||
CreatedTime: pbNow,
|
||||
UpdatedTime: pbNow,
|
||||
Version: 0,
|
||||
GrantScopeId: &wrapperspb.StringValue{Value: "grant-scope-id"},
|
||||
Name: &wrapperspb.StringValue{Value: "name"},
|
||||
Description: &wrapperspb.StringValue{Value: "description"},
|
||||
CreatedTime: pbNow,
|
||||
UpdatedTime: pbNow,
|
||||
Version: 0,
|
||||
GrantScopeIds: []string{
|
||||
globals.GrantScopeThis,
|
||||
"grant-scope-id",
|
||||
|
||||
Reference in new issue
Block a user