Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions aimdb-mqtt-connector/tests/topic_writer_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -316,8 +316,6 @@ async fn test_topic_writer_with_connector_registration() {
async fn test_topic_resolver_with_connector_registration() {
let runtime = Arc::new(TokioAdapter::new().unwrap());

std::env::set_var("TEST_MQTT_TOPIC", "commands/test/dynamic");

let mut builder = AimDbBuilder::new().runtime(runtime).with_connector(
aimdb_mqtt_connector::MqttConnector::new("mqtt://localhost:1883")
.with_client_id("test-topic-resolver"),
Expand All @@ -337,9 +335,6 @@ async fn test_topic_resolver_with_connector_registration() {

// Build succeeds with connector registered
assert!(builder.build().await.is_ok());

// Cleanup
std::env::remove_var("TEST_MQTT_TOPIC");
}

#[tokio::test]
Expand Down
Loading