mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 04:09:23 +00:00
Use " " instead of "" for the empty key so sh doesn't interpret it as falsy
This commit is contained in:
@@ -32,7 +32,7 @@ macro_rules! serai_test {
|
||||
.replace_env(
|
||||
HashMap::from([
|
||||
("RUST_LOG".to_string(), "runtime=debug".to_string()),
|
||||
("KEY".to_string(), String::new()),
|
||||
("KEY".to_string(), " ".to_string()),
|
||||
])
|
||||
)
|
||||
.set_publish_all_ports(true)
|
||||
|
||||
@@ -15,7 +15,7 @@ async fn dht() {
|
||||
Image::with_repository("serai-dev-serai").pull_policy(PullPolicy::Never),
|
||||
)
|
||||
.replace_env(
|
||||
[("SERAI_NAME".to_string(), name.to_string()), ("KEY".to_string(), String::new())].into(),
|
||||
[("SERAI_NAME".to_string(), name.to_string()), ("KEY".to_string(), " ".to_string())].into(),
|
||||
)
|
||||
.set_publish_all_ports(true)
|
||||
.set_handle(handle(name))
|
||||
|
||||
@@ -102,7 +102,7 @@ async fn validator_set_rotation() {
|
||||
])
|
||||
.replace_env(HashMap::from([
|
||||
("RUST_LOG".to_string(), "runtime=debug".to_string()),
|
||||
("KEY".to_string(), String::new()),
|
||||
("KEY".to_string(), " ".to_string()),
|
||||
]))
|
||||
.set_publish_all_ports(true)
|
||||
.set_handle(handle(name))
|
||||
|
||||
Reference in New Issue
Block a user