@@ -194,6 +194,7 @@ func TestRequestsCodes(t *testing.T) {
194
194
{req : crud .MakeCountRequest (validSpace ), rtype : CrudRequestType },
195
195
{req : crud .MakeStorageInfoRequest (), rtype : CrudRequestType },
196
196
{req : crud .MakeStatsRequest (), rtype : CrudRequestType },
197
+ {req : crud .MakeSchemaRequest (), rtype : CrudRequestType },
197
198
}
198
199
199
200
for _ , test := range tests {
@@ -231,6 +232,7 @@ func TestRequestsAsync(t *testing.T) {
231
232
{req : crud .MakeCountRequest (validSpace ), async : false },
232
233
{req : crud .MakeStorageInfoRequest (), async : false },
233
234
{req : crud .MakeStatsRequest (), async : false },
235
+ {req : crud .MakeSchemaRequest (), async : false },
234
236
}
235
237
236
238
for _ , test := range tests {
@@ -268,6 +270,7 @@ func TestRequestsCtx_default(t *testing.T) {
268
270
{req : crud .MakeCountRequest (validSpace ), expected : nil },
269
271
{req : crud .MakeStorageInfoRequest (), expected : nil },
270
272
{req : crud .MakeStatsRequest (), expected : nil },
273
+ {req : crud .MakeSchemaRequest (), expected : nil },
271
274
}
272
275
273
276
for _ , test := range tests {
@@ -306,6 +309,7 @@ func TestRequestsCtx_setter(t *testing.T) {
306
309
{req : crud .MakeCountRequest (validSpace ).Context (ctx ), expected : ctx },
307
310
{req : crud .MakeStorageInfoRequest ().Context (ctx ), expected : ctx },
308
311
{req : crud .MakeStatsRequest ().Context (ctx ), expected : ctx },
312
+ {req : crud .MakeSchemaRequest ().Context (ctx ), expected : ctx },
309
313
}
310
314
311
315
for _ , test := range tests {
@@ -462,6 +466,12 @@ func TestRequestsDefaultValues(t *testing.T) {
462
466
[]interface {}{}),
463
467
target : crud .MakeStatsRequest (),
464
468
},
469
+ {
470
+ name : "SchemaRequest" ,
471
+ ref : tarantool .NewCall17Request ("crud.schema" ).Args (
472
+ []interface {}{}),
473
+ target : crud .MakeSchemaRequest (),
474
+ },
465
475
}
466
476
467
477
for _ , tc := range testCases {
@@ -624,6 +634,12 @@ func TestRequestsSetters(t *testing.T) {
624
634
[]interface {}{spaceName }),
625
635
target : crud .MakeStatsRequest ().Space (spaceName ),
626
636
},
637
+ {
638
+ name : "SchemaRequest" ,
639
+ ref : tarantool .NewCall17Request ("crud.schema" ).Args (
640
+ []interface {}{spaceName }),
641
+ target : crud .MakeSchemaRequest ().Space (spaceName ),
642
+ },
627
643
}
628
644
629
645
for _ , tc := range testCases {
0 commit comments