File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -818,7 +818,7 @@ fn ignored_badges() {
818
818
}
819
819
820
820
#[ test]
821
- fn author_license_and_description_required ( ) {
821
+ fn license_and_description_required ( ) {
822
822
let ( _, _, _, token) = TestApp :: init ( ) . with_token ( ) ;
823
823
824
824
let crate_to_publish = PublishBuilder :: new ( "foo_metadata" )
@@ -831,7 +831,7 @@ fn author_license_and_description_required() {
831
831
assert_eq ! ( response. status( ) , StatusCode :: OK ) ;
832
832
assert_eq ! (
833
833
response. json( ) ,
834
- json!( { "errors" : [ { "detail" : missing_metadata_error_message( & [ "description" , "license" , "authors" ] ) } ] } )
834
+ json!( { "errors" : [ { "detail" : missing_metadata_error_message( & [ "description" , "license" , ] ) } ] } )
835
835
) ;
836
836
837
837
let crate_to_publish = PublishBuilder :: new ( "foo_metadata" )
@@ -844,7 +844,7 @@ fn author_license_and_description_required() {
844
844
assert_eq ! ( response. status( ) , StatusCode :: OK ) ;
845
845
assert_eq ! (
846
846
response. json( ) ,
847
- json!( { "errors" : [ { "detail" : missing_metadata_error_message( & [ "description" , "authors" ] ) } ] } )
847
+ json!( { "errors" : [ { "detail" : missing_metadata_error_message( & [ "description" ] ) } ] } )
848
848
) ;
849
849
850
850
let crate_to_publish = PublishBuilder :: new ( "foo_metadata" )
You can’t perform that action at this time.
0 commit comments