apply rustfmt to settings consumer tests

Three test modules drifted to non-canonical style during the post-merge
CI fixup; reformatting brings them back in line with the pinned nightly
rustfmt config so `cargo +nightly-2026-04-14 fmt --check --all` is clean
again.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Bryan Helmkamp 2026-04-23 21:02:02 -04:00
parent 64dbdf2500
commit f0fadffb5e
No known key found for this signature in database
3 changed files with 6 additions and 6 deletions

View file

@ -2003,10 +2003,9 @@ mod tests {
let toml_str = format_config_toml();
let cfg = fabro_config::ServerSettingsBuilder::from_toml(&toml_str)
.expect("generated config should resolve");
assert_eq!(
cfg.server.auth.methods,
vec![fabro_types::settings::ServerAuthMethod::DevToken]
);
assert_eq!(cfg.server.auth.methods, vec![
fabro_types::settings::ServerAuthMethod::DevToken
]);
}
#[test]

View file

@ -1299,9 +1299,9 @@ mod tests {
use axum::body::{Body, to_bytes};
use axum::http::{HeaderMap, Request, StatusCode, header};
use axum_extra::extract::cookie::Key;
use fabro_config::{RunLayer, ServerSettingsBuilder};
use base64::Engine;
use base64::engine::general_purpose::URL_SAFE_NO_PAD;
use fabro_config::{RunLayer, ServerSettingsBuilder};
use fabro_types::RunAuthMethod;
use fabro_types::settings::server::ServerAuthMethod;
use serde_json::json;

View file

@ -412,7 +412,8 @@ mod tests {
};
use fabro_graphviz::graph::AttrValue;
use fabro_store::Database;
use fabro_types::settings::{InterpString, run::RunMode};
use fabro_types::settings::InterpString;
use fabro_types::settings::run::RunMode;
use fabro_types::{WorkflowSettings, fixtures};
use object_store::local::LocalFileSystem;
use object_store::memory::InMemory;