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,20 +65,6 @@ func TestClientAlterClientQuotas(t *testing.T) {
6565
6666 assert .Equal (t , expectedAlterResp , * alterResp )
6767
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-
8268 expectedDescribeResp := DescribeClientQuotasResponse {
8369 Throttle : 0 ,
8470 ErrorCode : 0 ,
@@ -100,5 +86,19 @@ func TestClientAlterClientQuotas(t *testing.T) {
10086 },
10187 }
10288
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+
103103 assert .Equal (t , expectedDescribeResp , * describeResp )
104104}
You can’t perform that action at this time.
0 commit comments