|
|
|
|
@ -581,7 +581,7 @@ func TestUpdate(t *testing.T) {
|
|
|
|
|
Name: &wrapperspb.StringValue{Value: "new"},
|
|
|
|
|
Description: &wrapperspb.StringValue{Value: "desc"},
|
|
|
|
|
CreatedTime: or.GetCreateTime().GetTimestamp(),
|
|
|
|
|
GrantScopeId: &wrapperspb.StringValue{Value: pr.GetScopeId()},
|
|
|
|
|
GrantScopeId: &wrapperspb.StringValue{Value: or.GetScopeId()},
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
errCode: codes.OK,
|
|
|
|
|
@ -681,7 +681,7 @@ func TestUpdate(t *testing.T) {
|
|
|
|
|
Id: or.GetPublicId(),
|
|
|
|
|
Description: &wrapperspb.StringValue{Value: "default"},
|
|
|
|
|
CreatedTime: or.GetCreateTime().GetTimestamp(),
|
|
|
|
|
GrantScopeId: &wrapperspb.StringValue{Value: pr.GetScopeId()},
|
|
|
|
|
GrantScopeId: &wrapperspb.StringValue{Value: or.GetScopeId()},
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
errCode: codes.OK,
|
|
|
|
|
@ -703,7 +703,7 @@ func TestUpdate(t *testing.T) {
|
|
|
|
|
Name: &wrapperspb.StringValue{Value: "updated"},
|
|
|
|
|
Description: &wrapperspb.StringValue{Value: "default"},
|
|
|
|
|
CreatedTime: or.GetCreateTime().GetTimestamp(),
|
|
|
|
|
GrantScopeId: &wrapperspb.StringValue{Value: pr.GetScopeId()},
|
|
|
|
|
GrantScopeId: &wrapperspb.StringValue{Value: or.GetScopeId()},
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
errCode: codes.OK,
|
|
|
|
|
@ -725,7 +725,7 @@ func TestUpdate(t *testing.T) {
|
|
|
|
|
Name: &wrapperspb.StringValue{Value: "default"},
|
|
|
|
|
Description: &wrapperspb.StringValue{Value: "notignored"},
|
|
|
|
|
CreatedTime: or.GetCreateTime().GetTimestamp(),
|
|
|
|
|
GrantScopeId: &wrapperspb.StringValue{Value: pr.GetScopeId()},
|
|
|
|
|
GrantScopeId: &wrapperspb.StringValue{Value: or.GetScopeId()},
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
errCode: codes.OK,
|
|
|
|
|
|