mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-09-06 08:18:58 +00:00
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:
parent
64dbdf2500
commit
f0fadffb5e
3 changed files with 6 additions and 6 deletions
|
|
@ -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]
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue