Skip to content

Commit a300575

Browse files
committed
Not sure how this test works if we log out
But it's definitely passing now, I guess we're checking crate names before checking if there's a valid user???
1 parent ecc92b1 commit a300575

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/tests/krate.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,6 @@ fn new_bad_names() {
397397
let (_b, app, middle) = ::app();
398398
let mut req = ::new_req(app, name, "1.0.0");
399399
::mock_user(&mut req, ::user("foo"));
400-
::logout(&mut req);
401400
let json = bad_resp!(middle.call(&mut req));
402401
assert!(json.errors[0].detail.contains("invalid crate name"),
403402
"{:?}", json.errors);

0 commit comments

Comments
 (0)