Skip to content

Commit

Permalink
test: remove unneeded parts
Browse files Browse the repository at this point in the history
  • Loading branch information
dj8yf0μl committed Oct 25, 2024
1 parent e84de7c commit bb1c1fa
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions integration-tests/tests/cargo_near_new.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,13 @@ use camino::Utf8PathBuf;
use serde_json::json;
mod crate_metadata;
mod toolchain_channels;
use cargo_near_integration_tests::setup_tracing;

/// This tests logic of `../../cargo-near/src/commands/new/new-project-template/tests/test_basics.rs`,
/// on contract, which is docker-built from project, generated by `cargo near new`
#[cfg(target_os = "linux")]
#[tokio::test]
async fn test_docker_build() -> Result<(), Box<dyn std::error::Error>> {
use cargo_near_integration_tests::setup_tracing;

setup_tracing();

let generated_manifest = run_cargo_near_new()?;
Expand Down Expand Up @@ -48,10 +47,6 @@ include! {"../../cargo-near/src/commands/new/test_basics_on.rs.in"}
/// This runs `cargo test` on project, generated by `cargo near new`
#[test]
fn test_cargo_test_on_generated_project() -> Result<(), Box<dyn std::error::Error>> {
use cargo_near_integration_tests::setup_tracing;

setup_tracing();

let generated_manifest = run_cargo_near_new()?;

toolchain_channels::assert_equal(
Expand Down Expand Up @@ -108,8 +103,6 @@ fn test_cargo_test_on_generated_project() -> Result<(), Box<dyn std::error::Erro
/// latest published [near_workspaces::compile_project]
#[tokio::test]
async fn test_regular_build() -> Result<(), Box<dyn std::error::Error>> {
use cargo_near_integration_tests::setup_tracing;

setup_tracing();

let generated_manifest = run_cargo_near_new()?;
Expand Down

0 comments on commit bb1c1fa

Please sign in to comment.