File tree Expand file tree Collapse file tree 1 file changed +14
-14
lines changed Expand file tree Collapse file tree 1 file changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -65,6 +65,20 @@ func TestClientAlterClientQuotas(t *testing.T) {
65
65
66
66
assert .Equal (t , expectedAlterResp , * alterResp )
67
67
68
+ describeResp , err := client .DescribeClientQuotas (context .Background (), & DescribeClientQuotasRequest {
69
+ Components : []DescribeClientQuotasRequestComponent {
70
+ {
71
+ EntityType : entityType ,
72
+ MatchType : 0 ,
73
+ Match : entityName ,
74
+ },
75
+ },
76
+ })
77
+
78
+ if err != nil {
79
+ t .Fatal (err )
80
+ }
81
+
68
82
expectedDescribeResp := DescribeClientQuotasResponse {
69
83
Throttle : 0 ,
70
84
ErrorCode : 0 ,
@@ -86,19 +100,5 @@ func TestClientAlterClientQuotas(t *testing.T) {
86
100
},
87
101
}
88
102
89
- describeResp , err := client .DescribeClientQuotas (context .Background (), & DescribeClientQuotasRequest {
90
- Components : []DescribeClientQuotasRequestComponent {
91
- {
92
- EntityType : entityType ,
93
- MatchType : 0 ,
94
- Match : entityName ,
95
- },
96
- },
97
- })
98
-
99
- if err != nil {
100
- t .Fatal (err )
101
- }
102
-
103
103
assert .Equal (t , expectedDescribeResp , * describeResp )
104
104
}
You can’t perform that action at this time.
0 commit comments