@@ -110,7 +110,7 @@ async fn test_http_readiness_check() {
110
110
port : app_server. port ( ) . to_string ( ) ,
111
111
readiness_check_port : app_server. port ( ) . to_string ( ) ,
112
112
readiness_check_path : "/healthcheck" . to_string ( ) ,
113
- ..AdapterOptions :: default ( )
113
+ ..Default :: default ( )
114
114
} ;
115
115
116
116
// Initialize adapter and do readiness check
@@ -136,7 +136,7 @@ async fn test_http_basic_request() {
136
136
port : app_server. port ( ) . to_string ( ) ,
137
137
readiness_check_port : app_server. port ( ) . to_string ( ) ,
138
138
readiness_check_path : "/healthcheck" . to_string ( ) ,
139
- ..AdapterOptions :: default ( )
139
+ ..Default :: default ( )
140
140
} ) ;
141
141
142
142
// // Call the adapter service with basic request
@@ -175,7 +175,7 @@ async fn test_http_headers() {
175
175
port : app_server. port ( ) . to_string ( ) ,
176
176
readiness_check_port : app_server. port ( ) . to_string ( ) ,
177
177
readiness_check_path : "/healthcheck" . to_string ( ) ,
178
- ..AdapterOptions :: default ( )
178
+ ..Default :: default ( )
179
179
} ) ;
180
180
181
181
// Prepare request
@@ -219,7 +219,7 @@ async fn test_http_path_encoding() {
219
219
port : app_server. port ( ) . to_string ( ) ,
220
220
readiness_check_port : app_server. port ( ) . to_string ( ) ,
221
221
readiness_check_path : "/healthcheck" . to_string ( ) ,
222
- ..AdapterOptions :: default ( )
222
+ ..Default :: default ( )
223
223
} ) ;
224
224
225
225
// Prepare request
@@ -261,7 +261,7 @@ async fn test_http_query_params() {
261
261
port : app_server. port ( ) . to_string ( ) ,
262
262
readiness_check_port : app_server. port ( ) . to_string ( ) ,
263
263
readiness_check_path : "/healthcheck" . to_string ( ) ,
264
- ..AdapterOptions :: default ( )
264
+ ..Default :: default ( )
265
265
} ) ;
266
266
267
267
// Prepare request
@@ -312,7 +312,7 @@ async fn test_http_post_put_delete() {
312
312
port : app_server. port ( ) . to_string ( ) ,
313
313
readiness_check_port : app_server. port ( ) . to_string ( ) ,
314
314
readiness_check_path : "/healthcheck" . to_string ( ) ,
315
- ..AdapterOptions :: default ( )
315
+ ..Default :: default ( )
316
316
} ) ;
317
317
318
318
// Prepare requests
@@ -376,7 +376,7 @@ async fn test_http_compress() {
376
376
readiness_check_port : app_server. port ( ) . to_string ( ) ,
377
377
readiness_check_path : "/healthcheck" . to_string ( ) ,
378
378
compression : true ,
379
- ..AdapterOptions :: default ( )
379
+ ..Default :: default ( )
380
380
} ) ;
381
381
382
382
let mut svc = ServiceBuilder :: new ( ) . layer ( CompressionLayer :: new ( ) ) . service ( adapter) ;
@@ -424,7 +424,7 @@ async fn test_http_compress_disallowed_type() {
424
424
readiness_check_port : app_server. port ( ) . to_string ( ) ,
425
425
readiness_check_path : "/healthcheck" . to_string ( ) ,
426
426
compression : true ,
427
- ..AdapterOptions :: default ( )
427
+ ..Default :: default ( )
428
428
} ) ;
429
429
430
430
// // Call the adapter service with basic request
@@ -475,7 +475,7 @@ async fn test_http_compress_already_compressed() {
475
475
readiness_check_port : app_server. port ( ) . to_string ( ) ,
476
476
readiness_check_path : "/healthcheck" . to_string ( ) ,
477
477
compression : true ,
478
- ..AdapterOptions :: default ( )
478
+ ..Default :: default ( )
479
479
} ) ;
480
480
481
481
let mut svc = ServiceBuilder :: new ( ) . layer ( CompressionLayer :: new ( ) ) . service ( adapter) ;
@@ -526,7 +526,7 @@ async fn test_http_context_headers() {
526
526
port : app_server. port ( ) . to_string ( ) ,
527
527
readiness_check_port : app_server. port ( ) . to_string ( ) ,
528
528
readiness_check_path : "/healthcheck" . to_string ( ) ,
529
- ..AdapterOptions :: default ( )
529
+ ..Default :: default ( )
530
530
} ) ;
531
531
532
532
// Prepare request
@@ -576,7 +576,7 @@ async fn test_http_content_encoding_suffix() {
576
576
port : app_server. port ( ) . to_string ( ) ,
577
577
readiness_check_port : app_server. port ( ) . to_string ( ) ,
578
578
readiness_check_path : "/healthcheck" . to_string ( ) ,
579
- ..AdapterOptions :: default ( )
579
+ ..Default :: default ( )
580
580
} ) ;
581
581
582
582
// Prepare request
@@ -639,7 +639,7 @@ async fn test_http_context_multi_headers() {
639
639
port : app_server. port ( ) . to_string ( ) ,
640
640
readiness_check_port : app_server. port ( ) . to_string ( ) ,
641
641
readiness_check_path : "/healthcheck" . to_string ( ) ,
642
- ..AdapterOptions :: default ( )
642
+ ..Default :: default ( )
643
643
} ) ;
644
644
645
645
// Prepare request
0 commit comments