@@ -540,7 +540,7 @@ fn new_wrong_token() {
540
540
#[ test]
541
541
fn invalid_names ( ) {
542
542
fn bad_name ( name : & str , error_message : & str ) {
543
- let ( _, _, _, token) = TestApp :: with_proxy ( ) . with_token ( ) ;
543
+ let ( _, _, _, token) = TestApp :: init ( ) . with_token ( ) ;
544
544
let crate_to_publish = PublishBuilder :: new ( name) . version ( "1.0.0" ) ;
545
545
let json = token. publish ( crate_to_publish) . bad_with_status ( 200 ) ;
546
546
@@ -680,7 +680,7 @@ fn new_krate_non_canon_crate_name_dependencies() {
680
680
681
681
#[ test]
682
682
fn new_krate_with_wildcard_dependency ( ) {
683
- let ( app, _, user, token) = TestApp :: with_proxy ( ) . with_token ( ) ;
683
+ let ( app, _, user, token) = TestApp :: init ( ) . with_token ( ) ;
684
684
685
685
app. db ( |conn| {
686
686
// Insert a crate directly into the database so that new_wild can depend on it
@@ -825,7 +825,7 @@ fn new_krate_gzip_bomb() {
825
825
826
826
#[ test]
827
827
fn new_krate_duplicate_version ( ) {
828
- let ( app, _, user, token) = TestApp :: with_proxy ( ) . with_token ( ) ;
828
+ let ( app, _, user, token) = TestApp :: init ( ) . with_token ( ) ;
829
829
830
830
app. db ( |conn| {
831
831
// Insert a crate directly into the database and then we'll try to publish the same version
0 commit comments