remove unnecessary test

This commit is contained in:
Kiril Videlov 2024-10-20 00:32:06 +02:00
parent dd93fc16db
commit d2d31644a1
No known key found for this signature in database
GPG Key ID: A4C733025427C471

View File

@ -581,21 +581,6 @@ fn update_series_target_success() -> Result<()> {
Ok(())
}
#[test]
fn push_series_no_remote() -> Result<()> {
let (ctx, _temp_dir) = command_ctx("multiple-commits")?;
let mut test_ctx = test_ctx(&ctx)?;
test_ctx.branch.initialize(&ctx)?;
let result = test_ctx
.branch
.push_series(&ctx, "a-branch-2".into(), false);
assert_eq!(
result.err().unwrap().to_string(),
"No remote has been configured for the target branch"
);
Ok(())
}
#[test]
fn push_series_success() -> Result<()> {
let (ctx, _temp_dir) = command_ctx("multiple-commits")?;