Add empty string for the KEY to serai-client to use the default keystore

This commit is contained in:
Luke Parker
2024-03-23 16:48:12 -04:00
parent bca3728a10
commit 2a31d8552e
3 changed files with 13 additions and 3 deletions

View File

@@ -14,7 +14,9 @@ async fn dht() {
TestBodySpecification::with_image(
Image::with_repository("serai-dev-serai").pull_policy(PullPolicy::Never),
)
.replace_env([("SERAI_NAME".to_string(), name.to_string())].into())
.replace_env(
[("SERAI_NAME".to_string(), name.to_string()), ("KEY".to_string(), String::new())].into(),
)
.set_publish_all_ports(true)
.set_handle(handle(name))
.set_start_policy(StartPolicy::Strict)