@@ -41,7 +41,7 @@ fn usage() {
41
41
"# } ) ;
42
42
43
43
let expected = expect ! [ [ "
44
- GET /config.json
44
+ GET /api/v1/index/ config.json
45
45
accept: */*
46
46
accept-encoding: gzip, br, deflate
47
47
host: ...
@@ -118,7 +118,7 @@ fn publish_verified() {
118
118
"# } ) ;
119
119
120
120
let expected = expect ! [ [ "
121
- GET /config.json
121
+ GET /api/v1/index/ config.json
122
122
accept: */*
123
123
accept-encoding: gzip, br, deflate
124
124
host: ...
@@ -198,7 +198,7 @@ fn not_found() {
198
198
"# } ) ;
199
199
200
200
let expected = expect ! [ [ "
201
- GET /config.json
201
+ GET /api/v1/index/ config.json
202
202
accept: */*
203
203
accept-encoding: gzip, br, deflate
204
204
host: ...
@@ -229,7 +229,7 @@ fn not_found() {
229
229
#[ test]
230
230
fn missing_config_json ( ) {
231
231
let registry = HttpRegistry :: serve ( ) ;
232
- fs:: remove_file ( registry. child ( "config.json" ) ) . unwrap ( ) ;
232
+ fs:: remove_file ( registry. child ( "api/v1/index/ config.json" ) ) . unwrap ( ) ;
233
233
234
234
let t = TempDir :: new ( ) . unwrap ( ) ;
235
235
ProjectBuilder :: start ( )
@@ -253,7 +253,7 @@ fn missing_config_json() {
253
253
"# } ) ;
254
254
255
255
let expected = expect ! [ [ "
256
- GET /config.json
256
+ GET /api/v1/index/ config.json
257
257
accept: */*
258
258
accept-encoding: gzip, br, deflate
259
259
host: ...
@@ -310,7 +310,7 @@ fn caching() {
310
310
. stdout_eq ( "" ) ;
311
311
312
312
let expected = expect ! [ [ r#"
313
- GET /config.json
313
+ GET /api/v1/index/ config.json
314
314
accept: */*
315
315
accept-encoding: gzip, br, deflate
316
316
host: ...
0 commit comments