diff --git a/Cargo.lock b/Cargo.lock index 3d300d95e..b4fcd9528 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1477,6 +1477,7 @@ dependencies = [ "serde", "serde_json", "strum", + "test-log", "thiserror", "time", "tokio", @@ -1535,7 +1536,6 @@ dependencies = [ "serde_json", "serde_with", "strum", - "test-log", "thiserror", "time", "tokio", diff --git a/fpx-cli/Cargo.toml b/fpx-cli/Cargo.toml index 92f6d9a1f..b4217818e 100644 --- a/fpx-cli/Cargo.toml +++ b/fpx-cli/Cargo.toml @@ -74,6 +74,3 @@ libsql = { version = "0.5", default-features = false, features = [ "serde", "replication", ] } - -[dev-dependencies] -test-log = { version = "0.2", default-features = false, features = ["trace"] } diff --git a/fpx/Cargo.toml b/fpx/Cargo.toml index 6b1aa37a6..5cf5d4b27 100644 --- a/fpx/Cargo.toml +++ b/fpx/Cargo.toml @@ -64,6 +64,7 @@ wasm-bindgen = { version = "0.2", default-features = false, optional = true } [dev-dependencies] http-body-util = { version = "0.1", default-features = false } +test-log = { version = "0.2", default-features = false, features = ["trace"] } tokio = { version = "1.40", default-features = false, features = [ "macros", "test-util", diff --git a/fpx/src/data/libsql_store/tests.rs b/fpx/src/data/libsql_store/tests.rs index 91e897d12..b652491be 100644 --- a/fpx/src/data/libsql_store/tests.rs +++ b/fpx/src/data/libsql_store/tests.rs @@ -1,7 +1,7 @@ -use crate::data::LibsqlStore; -use fpx::api::models::{AttributeMap, SpanKind}; -use fpx::data::models::{HexEncodedId, Span}; -use fpx::data::Store; +use crate::api::models::{AttributeMap, SpanKind}; +use crate::data::libsql_store::LibsqlStore; +use crate::data::models::{HexEncodedId, Span}; +use crate::data::Store; use test_log::test; /// Tests creating a span and then retrieving it using the various methods. @@ -25,7 +25,7 @@ async fn span_successful() { let span_id = HexEncodedId::new("a6c0ed7c2f81e7c8").unwrap(); let now = time::OffsetDateTime::now_utc(); - let inner_span: fpx::api::models::Span = fpx::api::models::Span { + let inner_span = crate::api::models::Span { trace_id: trace_id.clone(), span_id: span_id.clone(), parent_span_id: None,