mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-10-10 03:30:59 +00:00
fix(cli): update install test for listener tls removal
This commit is contained in:
parent
79cd760cd9
commit
ec239aaf9c
1 changed files with 1 additions and 2 deletions
|
|
@ -2268,14 +2268,13 @@ mod tests {
|
|||
.and_then(|s| s.listen.as_ref())
|
||||
.expect("server.listen should be set");
|
||||
match listen {
|
||||
ServerListenLayer::Tcp { address, tls } => {
|
||||
ServerListenLayer::Tcp { address } => {
|
||||
assert_eq!(
|
||||
address
|
||||
.as_ref()
|
||||
.map(fabro_types::settings::InterpString::as_source),
|
||||
Some("127.0.0.1:32276".to_string())
|
||||
);
|
||||
assert!(tls.is_none());
|
||||
}
|
||||
ServerListenLayer::Unix { .. } => panic!("expected tcp listen"),
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue